mirror of
https://github.com/openwrt/luci.git
synced 2026-05-27 23:01:08 +04:00
luci-theme-material: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ return baseclass.extend({
|
||||
const ul2 = a.nextElementSibling;
|
||||
|
||||
document.querySelectorAll('li.slide.active').forEach(function(li) {
|
||||
if (li !== a.parentNode || li == ul1) {
|
||||
if (li !== ul1) {
|
||||
li.classList.remove('active');
|
||||
li.childNodes[0].classList.remove('active');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user