Merge pull request #1267 from mathjax/fix_separator_bug
Fixes the menu bug introduced by giving separators a role.
This commit is contained in:
commit
245b847abc
|
@ -725,7 +725,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