From a439456f05db84ff9779e1cf780ddf6c5a803827 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 23 May 2013 22:39:29 -0400 Subject: [PATCH] Don't let bubbles get highlighted --- 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 index 104ab476c5..78c1c787b6 100644 --- 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(); } /**