From 8a0f9a99cd80d66ac2482149cbf1f3d484ce4d3f Mon Sep 17 00:00:00 2001 From: groovecoder Date: Tue, 4 Apr 2017 07:53:24 -0500 Subject: [PATCH] eslint fixes --- webextension/background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webextension/background.js b/webextension/background.js index 21d07f6..57e7c6a 100644 --- a/webextension/background.js +++ b/webextension/background.js @@ -243,7 +243,7 @@ const messageHandler = { } }); - browser.tabs.onCreated.addListener((tab, other) => { + browser.tabs.onCreated.addListener((tab) => { // This works at capturing the tabs as they are created // However we need onFocusChanged and onActivated to capture the initial tab if (tab.id === -1) { @@ -252,7 +252,7 @@ const messageHandler = { tabPageCounter.initTabCounter(tab); }); - browser.tabs.onRemoved.addListener((tabId, other) => { + browser.tabs.onRemoved.addListener((tabId) => { if (tabId === -1) { return {}; }