From bd1a89477bb49fa1147cb5ae3f36bdb414c3a1fb Mon Sep 17 00:00:00 2001 From: He4eT Date: Thu, 17 Aug 2023 04:58:39 +0300 Subject: [PATCH] Keyboard handlers: switch to tab with Up Arrow --- popup/tabswiper/modules/keyboardHandlers.js | 1 + popup/tabswiper/tabswiper.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/popup/tabswiper/modules/keyboardHandlers.js b/popup/tabswiper/modules/keyboardHandlers.js index 70fb52d..5275c71 100644 --- a/popup/tabswiper/modules/keyboardHandlers.js +++ b/popup/tabswiper/modules/keyboardHandlers.js @@ -10,6 +10,7 @@ export const attachKeyboardHandlers = (store) => { store.actions.keepTab(store.getCurrentState().currentTab) return case 'f': + case 'ArrowUp': store.actions.goToTab(store.getCurrentState().currentTab) return case 'r': diff --git a/popup/tabswiper/tabswiper.html b/popup/tabswiper/tabswiper.html index 6d1861f..42154ab 100644 --- a/popup/tabswiper/tabswiper.html +++ b/popup/tabswiper/tabswiper.html @@ -32,7 +32,7 @@