diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index cf489ec677..0749bd5f5d 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -587,6 +587,22 @@ var ZoteroPane = new function() } } + // Tab navigation: Ctrl-Tab / Ctrl-Shift-Tab + if (event.ctrlKey && !event.altKey && !event.metaKey && event.key == 'Tab') { + if (event.shiftKey) { + Zotero_Tabs.selectPrev(); + event.preventDefault(); + event.stopPropagation(); + return; + } + else { + Zotero_Tabs.selectNext(); + event.preventDefault(); + event.stopPropagation(); + return; + } + } + try { // Ignore keystrokes outside of Zotero pane if (!(event.originalTarget.ownerDocument instanceof XULDocument)) {