From 337dee20612eb62e3a17bae1a890c82d33b2c45f Mon Sep 17 00:00:00 2001 From: groovecoder Date: Thu, 4 May 2017 09:31:25 -0500 Subject: [PATCH] more descriptive _containerTabs method name --- webextension/js/popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webextension/js/popup.js b/webextension/js/popup.js index c3a23c4..4dbc0c0 100644 --- a/webextension/js/popup.js +++ b/webextension/js/popup.js @@ -155,7 +155,7 @@ const Logic = { }).catch((e) => {throw e;}); }, - _containers(userContextId) { + _containerTabs(userContextId) { return browser.tabs.query({ cookieStoreId: Logic.cookieStoreId(userContextId) }); @@ -180,7 +180,7 @@ const Logic = { userContextId }); - const removeTabsPromise = Logic._containers(userContextId).then((tabs) => { + const removeTabsPromise = Logic._containerTabs(userContextId).then((tabs) => { const tabIds = tabs.map((tab) => tab.id); return browser.tabs.remove(tabIds); });