mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
refactoring
This commit is contained in:
parent
4ef978406f
commit
1591b8ed35
@ -144,8 +144,7 @@ function Ui(hid) {
|
||||
for (var el_item = event.target; el_item && el_item !== document; el_item = el_item.parentNode) {
|
||||
if (el_item.hasAttribute("data-force-hide-menu")) {
|
||||
break;
|
||||
}
|
||||
else if (el_item.hasAttribute("data-dont-hide-menu")) {
|
||||
} else if (el_item.hasAttribute("data-dont-hide-menu")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user