Unbind Backspace from collection delete on Windows/Linux
This commit is contained in:
parent
c22b063d1d
commit
d049d8db83
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,7 @@ var ZoteroPane = new function()
|
|||
|
||||
function handleKeyPress(event, from) {
|
||||
if (from == 'zotero-collections-tree') {
|
||||
if (event.keyCode == event.DOM_VK_BACK_SPACE ||
|
||||
if ((event.keyCode == event.DOM_VK_BACK_SPACE && Zotero.isMac) ||
|
||||
event.keyCode == event.DOM_VK_DELETE) {
|
||||
ZoteroPane.deleteSelectedCollection();
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue