diff --git a/popup/menu.js b/popup/menu.js index bef74f7bf489d1fe359a5c996b6fb75b00bc8d04..b8cdacfa497c1cf47078e4496b8851b0fb5604f8 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);