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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/tabs.js b/src/background/tabs.js
index 2028503..0567e68 100644
--- a/src/background/tabs.js
+++ b/src/background/tabs.js
@@ -79,14 +79,14 @@ const selectNextTab = (current, count) => {
});
};
-const selectFirstTab = (current, count) => {
+const selectFirstTab = () => {
return browser.tabs.query({ currentWindow: true }).then((tabs) => {
let id = tabs[0].id;
return browser.tabs.update(id, { active: true });
});
};
-// const selectFirstTab = (current, count) => {
+// const selectLastTab = (current, count) => {
// return browser.tabs.query({ currentWindow: true }).then((tabs) => {
// let select = tabs.length;
// let id = tabs[select].id;