SNL-WaterPower / WecOptTool-MATLAB

WEC Design Optimization Toolbox
GNU General Public License v3.0
12 stars 9 forks source link

Fix details not being unrolled when clicking on summary in Chrome #181

Closed H0R5E closed 3 years ago

H0R5E commented 3 years ago

Description

Chrome does not treat \<a> tags inside a \<summary> tag the same way as Firefox, such that the details tag will not unroll when the summary is clicked. This commit swaps the \<a> tags for a custom tag \<clickme> that colours the summaries like links, without being links. Chrome now acts as expected.

Found a couple of small fixes to the API docs which I have added to this PR.

H0R5E commented 3 years ago

OK, I'm going to merge this as I don't think it's going to break anything.