diff options
author | usk <usk@localhost> | 2017-11-04 07:38:51 +0900 |
---|---|---|
committer | usk <usk@localhost> | 2017-11-07 03:22:18 +0900 |
commit | c4de9ec451f781fa0cc6ce2cd82982d5d66ef787 (patch) | |
tree | 965171f72c09aa3927d020e117b42811e908e160 /src/background/actions | |
parent | 256820f78d0450c55a32557eca13294ab9fdf80f (diff) |
add support for duplicating current tab
Diffstat (limited to 'src/background/actions')
-rw-r--r-- | src/background/actions/operation.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js index d0caf80..9876940 100644 --- a/src/background/actions/operation.js +++ b/src/background/actions/operation.js @@ -35,6 +35,8 @@ const exec = (operation, tab) => { return tabs.updateTabPinned(tab, false); case operations.TAB_TOGGLE_PINNED: return tabs.toggleTabPinned(tab); + case operations.TAB_DUPLICATE: + return tabs.duplicate(tab.id); case operations.ZOOM_IN: return zooms.zoomIn(); case operations.ZOOM_OUT: |