diff options
author | Official Noob <[email protected]> | 2019-08-08 16:50:33 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-08-08 16:50:33 +0100 |
commit | 074f7c5456d56fd2a7b11bcc639bfaf876a772ba (patch) | |
tree | c35cdc0db6b0536012d6f962993f4add2e83c082 /popup.js | |
parent | 2a64afe9dc978b5acdd8a4dc0831ff71eb32ef9f (diff) | |
download | SponsorBlock-074f7c5456d56fd2a7b11bcc639bfaf876a772ba.tar.gz SponsorBlock-074f7c5456d56fd2a7b11bcc639bfaf876a772ba.zip |
Switched callback to onTabs
Diffstat (limited to 'popup.js')
-rw-r--r-- | popup.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); }); } |