Fixed issue #35 "tabId is not defined" on startup.

This commit is contained in:
hackademix 2018-11-12 02:18:58 +01:00
parent 6860ee2a40
commit 24f738337b
1 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ function deferWebTraffic(promiseToWaitFor, next) {
let seen = seenTabs.has(nav.tabId);
debug(`%s navigation %o`, seen ? "seen" : "unseen", nav);
if (!seen) {
reloadTab(tabId);
reloadTab(nav.tabId);
}
}
}