aboutsummaryrefslogtreecommitdiff
path: root/src/background/tabs.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/tabs.js')
-rw-r--r--src/background/tabs.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/background/tabs.js b/src/background/tabs.js
index 23b3b7b..d641616 100644
--- a/src/background/tabs.js
+++ b/src/background/tabs.js
@@ -111,8 +111,12 @@ const toggleTabPinned = (current) => {
updateTabPinned(current, !current.pinned);
};
+const duplicate = (id) => {
+ return browser.tabs.duplicate(id);
+};
+
export {
closeTab, reopenTab, selectAt, selectByKeyword, getCompletions,
selectPrevTab, selectNextTab, selectFirstTab, selectLastTab, reload,
- updateTabPinned, toggleTabPinned
+ updateTabPinned, toggleTabPinned, duplicate
};