From 49e0852d36310f05a23b47068902d51a373a9cc5 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 12 Sep 2015 10:16:24 -0400 Subject: [PATCH] Don't focus the math element if the menu was closed via a mouse click. --- unpacked/extensions/MathMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js index 51385c018..05a50b56d 100644 --- 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); },