commit 49e0852d36310f05a23b47068902d51a373a9cc5
parent 8645c8ce94f523b4f049af5d36e365c09ffee97e
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 12 Sep 2015 10:16:24 -0400
Don't focus the math element if the menu was closed via a mouse click.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js
@@ -383,6 +383,7 @@
HOVER.UnHover(MENU.jax);
}
MENU.Unfocus(menu);
+ if (event.type === "mousedown") MENU.CurrentNode().blur();
return FALSE(event);
},