Detect active menu items that have no children
authorAlexander Ebert <ebert@woltlab.com>
Thu, 23 Jun 2022 16:31:05 +0000 (18:31 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 23 Jun 2022 16:31:05 +0000 (18:31 +0200)
commitd78a85d0cde1aeb07c9fee3077bad3618cf358b1
tree7f3f34090857947a367422c322a17eca67183e53
parent54634e27976e646ab86459fa7c37d2ad1ee4f7cd
Detect active menu items that have no children

Links with children have the `active` class set on them, but links without have it placed on the parent instead.

See https://www.woltlab.com/community/thread/296045-mobiles-hauptmen%C3%BC-teilweise-nicht-vorausgew%C3%A4hlt-wenn-man-auf-einer-unterseite-is/
ts/WoltLabSuite/Core/Acp/Ui/Page/Menu/Main/Backend.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/Page/Menu/Main/Backend.js