commit 4d354027b55fa413a3e8545aa2c08bb3879d4d4f
parent 473c3affb88f2af2d2c55bc35e8fda8bdba8969a
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 17 Aug 2015 01:35:12 -0400
Fix Cmd/Ctrl-Down in Quick Format
Broken in f3daf6b4bc
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js
@@ -1106,14 +1106,14 @@ var Zotero_QuickFormat = new function () {
referenceBox.ensureElementIsVisible(visibleItem);
};
event.preventDefault();
- } else if(keyCode === event.DOM_VK_DOWN && referencePanel.state === "open") {
+ } else if(keyCode === event.DOM_VK_DOWN) {
if((Zotero.isMac ? event.metaKey : event.ctrlKey)) {
// If meta key is held down, show the citation properties panel
var bubble = _getSelectedBubble();
if(bubble) _showCitationProperties(bubble);
event.preventDefault();
- } else {
+ } else if (referencePanel.state === "open") {
var selectedItem = referenceBox.selectedItem;
var nextSibling;