Fixes the menu bug introduced by giving separators a role.
This commit is contained in:
parent
1af1680715
commit
90f77e33a5
|
@ -709,7 +709,8 @@
|
|||
var children = menuNode.childNodes;
|
||||
do {
|
||||
index = MENU.Mod(move(index), len);
|
||||
} while (items[index].hidden || !children[index].role);
|
||||
} while (items[index].hidden || !children[index].role ||
|
||||
children[index].role === "separator");
|
||||
this.Deactivate(item);
|
||||
items[index].Activate(event, children[index]);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user