commit a439456f05db84ff9779e1cf780ddf6c5a803827 parent 3eff3605f710182b7bca65d0aaceca2e20b94fc5 Author: Simon Kornblith <simon@simonster.com> Date: Thu, 23 May 2013 22:39:29 -0400 Don't let bubbles get highlighted Diffstat:
| M | chrome/content/zotero/integration/quickFormat.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js @@ -1162,7 +1162,8 @@ var Zotero_QuickFormat = new function () { * Handle a click on a bubble */ function _onBubbleClick(event) { - _showCitationProperties(event.target); + _moveCursorToEnd(); + _showCitationProperties(event.currentTarget); } /** @@ -1203,7 +1204,6 @@ var Zotero_QuickFormat = new function () { this.onCitationPropertiesClosed = function(event) { panelRefersToBubble.removeAttribute("selected"); Zotero_QuickFormat.onCitationPropertiesChanged(); - _moveCursorToEnd(); } /**