aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions/operation.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-11-05 13:17:40 +0000
committerGitHub <noreply@github.com>2017-11-05 13:17:40 +0000
commitb3b017a123516096dd7be05695f7a71da3b808cc (patch)
tree76454e190c9539d5c4b55facfef7b207d357b445 /src/background/actions/operation.js
parent7cdbe310c123587e6cd528f9de2595166c24d66c (diff)
parent12f960fe3504f8e4e7d6b48b2907af1cb19ac60c (diff)
Merge pull request #113 from alx741/tabs
Add Tabs first/last selectors
Diffstat (limited to 'src/background/actions/operation.js')
-rw-r--r--src/background/actions/operation.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js
index b94c117..a5094c0 100644
--- a/src/background/actions/operation.js
+++ b/src/background/actions/operation.js
@@ -20,6 +20,10 @@ const exec = (operation, tab) => {
return tabs.selectPrevTab(tab.index, operation.count);
case operations.TAB_NEXT:
return tabs.selectNextTab(tab.index, operation.count);
+ case operations.TAB_FIRST:
+ return tabs.selectFirstTab();
+ case operations.TAB_LAST:
+ return tabs.selectLastTab();
case operations.TAB_RELOAD:
return tabs.reload(tab, operation.cache);
case operations.ZOOM_IN: