Tweak existing tab navigation style
This commit is contained in:
parent
d231a03308
commit
9afc6e8f47
1 changed files with 2 additions and 3 deletions
|
@ -550,10 +550,9 @@ var ZoteroPane = new function()
|
|||
}
|
||||
}
|
||||
|
||||
// Tab navigation
|
||||
// Tab navigation: Ctrl-PageUp / PageDown
|
||||
// TODO: Select across tabs without selecting with Ctrl-Shift, as in Firefox?
|
||||
let ctrlOnly = event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey;
|
||||
if (ctrlOnly) {
|
||||
if (event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey) {
|
||||
if (event.key == 'PageUp') {
|
||||
Zotero_Tabs.selectPrev();
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue