mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 09:40:30 +08:00
prevent focus flickering
This commit is contained in:
parent
ad6a66ac8f
commit
f62715be13
@ -16,7 +16,7 @@ function WindowManager() {
|
||||
|
||||
Array.prototype.forEach.call($$("menu-item"), function(el_item) {
|
||||
el_item.parentElement.querySelector(".menu-item-content").setAttribute("tabindex", "-1");
|
||||
tools.setOnClick(el_item, () => __toggleMenu(el_item));
|
||||
tools.setOnDown(el_item, () => __toggleMenu(el_item));
|
||||
__menu_items.push(el_item);
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user