When there are more tabs to be shown than there is space for them, OctoPrint shows a dropdown icon hiding the excess items. Whenever this is the case, a click on this plugins navbar item does not switch to the OctoKlipper tab but just scrolls the page to the vertical location of the link item.
This behavior is fixed with this PR by using JavaScript for handling the click event.
Closes #23
When there are more tabs to be shown than there is space for them, OctoPrint shows a dropdown icon hiding the excess items. Whenever this is the case, a click on this plugins navbar item does not switch to the OctoKlipper tab but just scrolls the page to the vertical location of the link item.
This behavior is fixed with this PR by using JavaScript for handling the click event.