Allow right-click on multiple items in duplicate view. Closes #53
This commit is contained in:
parent
311e6f2fa7
commit
fdb35e2e92
1 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue