Don't let bubbles get highlighted

This commit is contained in:
Simon Kornblith 2013-05-23 22:39:29 -04:00
parent 3eff3605f7
commit a439456f05

View file

@ -1162,7 +1162,8 @@ var Zotero_QuickFormat = new function () {
* Handle a click on a bubble * Handle a click on a bubble
*/ */
function _onBubbleClick(event) { function _onBubbleClick(event) {
_showCitationProperties(event.target); _moveCursorToEnd();
_showCitationProperties(event.currentTarget);
} }
/** /**
@ -1203,7 +1204,6 @@ var Zotero_QuickFormat = new function () {
this.onCitationPropertiesClosed = function(event) { this.onCitationPropertiesClosed = function(event) {
panelRefersToBubble.removeAttribute("selected"); panelRefersToBubble.removeAttribute("selected");
Zotero_QuickFormat.onCitationPropertiesChanged(); Zotero_QuickFormat.onCitationPropertiesChanged();
_moveCursorToEnd();
} }
/** /**