Add stop propagation to existing tab navigation
This commit is contained in:
parent
9afc6e8f47
commit
28b34bb958
1 changed files with 2 additions and 0 deletions
|
@ -556,11 +556,13 @@ var ZoteroPane = new function()
|
|||
if (event.key == 'PageUp') {
|
||||
Zotero_Tabs.selectPrev();
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
else if (event.key == 'PageDown') {
|
||||
Zotero_Tabs.selectNext();
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue