From fdb35e2e9201fa58d2c5834a2b8de3e2a33647d8 Mon Sep 17 00:00:00 2001 From: aurimasv Date: Mon, 20 May 2013 04:39:19 -0500 Subject: [PATCH] Allow right-click on multiple items in duplicate view. Closes #53 --- chrome/content/zotero/zoteroPane.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 558a019003..79d323ee20 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2538,14 +2538,8 @@ var ZoteroPane = new function() else if (tree.id == 'zotero-items-tree') { let itemGroup = ZoteroPane_Local.getItemGroup(); if (itemGroup.isDuplicates()) { - if (event.button == 0 && (event.metaKey || event.shiftKey - || event.altKey || event.ctrlKey)) { - return; - } - - // Allow right-click on single items/attachments - var items = ZoteroPane_Local.getSelectedItems(); - if (event.button != 0 && items.length == 1) { + if (event.button != 0 || event.metaKey || event.shiftKey + || event.altKey || event.ctrlKey) { return; }