From bcc99b9ff01ca5cb40b05921bdb32eb7709bb2a9 Mon Sep 17 00:00:00 2001 From: didierfred <didierfred@gmail.com> Date: Wed, 2 May 2018 14:47:21 +0200 Subject: [PATCH] comments --- popup/menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/popup/menu.js b/popup/menu.js index bef74f7..b8cdacf 100644 --- a/popup/menu.js +++ b/popup/menu.js @@ -37,7 +37,7 @@ function start_modify() document.getElementById("start_stop").value = "Start"; } - // reload config tab , to get the start/stop information correct + // if exists reload config tab , to get the start/stop information correct var promise_tabs = browser.tabs.query({currentWindow: true}); promise_tabs.then(reloadConfigTab); @@ -54,7 +54,7 @@ function reloadConfigTab(tabs) if (tab.url.startsWith(browser.extension.getURL(""))) config_tab = tab; } - // config tab exits , reload it + // config tab exists , reload it if (config_tab) browser.tabs.reload(config_tab.id); -- GitLab