aboutsummaryrefslogtreecommitdiffhomepage
path: root/popup.js
diff options
context:
space:
mode:
authorOfficial Noob <[email protected]>2019-08-08 16:50:33 +0100
committerGitHub <[email protected]>2019-08-08 16:50:33 +0100
commit074f7c5456d56fd2a7b11bcc639bfaf876a772ba (patch)
treec35cdc0db6b0536012d6f962993f4add2e83c082 /popup.js
parent2a64afe9dc978b5acdd8a4dc0831ff71eb32ef9f (diff)
downloadSponsorBlock-074f7c5456d56fd2a7b11bcc639bfaf876a772ba.tar.gz
SponsorBlock-074f7c5456d56fd2a7b11bcc639bfaf876a772ba.zip
Switched callback to onTabs
Diffstat (limited to 'popup.js')
-rw-r--r--popup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/popup.js b/popup.js
index dda77b3a..e1a63818 100644
--- a/popup.js
+++ b/popup.js
@@ -224,11 +224,11 @@ function runThePopup() {
chrome.tabs.query({
active: true,
currentWindow: true
- }, loadTabData);
+ }, onTabs);
function onTabs(tabs) {
chrome.storage.sync.get(['videoid'], function(result) {
- loadTabData(tabs, result.videoid);
+ loadTabData(tabs, result.videoid);
});
}