Make ZoteroPane keydown handler to catch all key presses on the window
Fixes #2231
This commit is contained in:
parent
cdb826e358
commit
91dfcc96bf
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ var ZoteroPane = new function()
|
|||
}
|
||||
|
||||
// Set key down handler
|
||||
document.getElementById('appcontent').addEventListener('keydown', ZoteroPane_Local.handleKeyDown, true);
|
||||
document.addEventListener('keydown', ZoteroPane_Local.handleKeyDown, true);
|
||||
document.addEventListener('blur', ZoteroPane.handleBlur);
|
||||
|
||||
// Init toolbar buttons for all progress queues
|
||||
|
|
Loading…
Add table
Reference in a new issue