cgkineo / adapt-devtools

Tools for developing and testing Adapt courses
GNU General Public License v3.0
8 stars 6 forks source link

Navigation button: Add support for data-order #61

Closed swashbuck closed 7 months ago

swashbuck commented 2 years ago

Support for the data-order attribute was added to the navigation here. However, this is not yet supported in Dev Tools. Furthermore, it seems that manually adding something like data-order=10000 has no effect on the order of the button.

swashbuck commented 2 years ago

I believe the navigation button is currently meant to always be the last button? So, this would probably need amended in addition to adding the actual data-order value.

https://github.com/cgkineo/adapt-devtools/blob/0cd68c816eaf59835b49b001df7dbe0adecde351/js/adapt-devtools.js#L393