diff --git a/tabs-tabs-tabs/tabs.html b/tabs-tabs-tabs/tabs.html index 6113ed0..81238cf 100644 --- a/tabs-tabs-tabs/tabs.html +++ b/tabs-tabs-tabs/tabs.html @@ -32,10 +32,6 @@ Reset zoom
Zoom out
-
- - Highlight (only supported by Chrome) -
diff --git a/tabs-tabs-tabs/tabs.js b/tabs-tabs-tabs/tabs.js index 27e7a1b..74c4fb5 100644 --- a/tabs-tabs-tabs/tabs.js +++ b/tabs-tabs-tabs/tabs.js @@ -160,13 +160,6 @@ document.addEventListener("click", (e) => { }); }); } - // Currently (11/2/2016) only supported by Chrome - else if (e.target.id === "tabs-highlight") { // highlights current tab and next tab (cycles back to first tab if current tab is the last one) - callOnActiveTab((tab, tabs) => { - let next = (tab.index+1) % tabs.length; - browser.tabs.highlight({tabs:[tab.index, next]}); - }); - } else if (e.target.classList.contains('switch-tabs')) { var tabId = +e.target.getAttribute('href');