Add stop propagation to existing tab navigation

This commit is contained in:
J. Ryan Stinnett 2021-07-11 01:32:12 +01:00
parent 9afc6e8f47
commit 28b34bb958

View file

@ -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;
}
}