Merge pull request #327 from aurimasv/dup-right-click
Allow right-click on multiple items in duplicate view. Closes #53
This commit is contained in:
commit
375f0774c0
1 changed files with 2 additions and 8 deletions
|
@ -2563,14 +2563,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…
Reference in a new issue