Skip to content

Commit cb00565

Browse files
committed
Fix undefined tabId
1 parent 2fa6c13 commit cb00565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chromium/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ chrome.tabs.onReplaced.addListener(function(addedTabId, removedTabId) {
412412
if(typeof(tab) === "undefined") {
413413
log(DBUG, "Not a real tab. Skipping showing pageAction.");
414414
} else {
415-
chrome.pageAction.show(tabId);
415+
chrome.pageAction.show(addedTabId);
416416
}
417417
});
418418
});

0 commit comments

Comments
 (0)