Fix Cmd/Ctrl-Down in Quick Format

Broken in f3daf6b4bc
This commit is contained in:
Dan Stillman 2015-08-17 01:35:12 -04:00
parent 473c3affb8
commit 4d354027b5

View file

@ -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;