mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Switched callback to onTabs
This commit is contained in:
2
popup.js
2
popup.js
@@ -224,7 +224,7 @@ function runThePopup() {
|
|||||||
chrome.tabs.query({
|
chrome.tabs.query({
|
||||||
active: true,
|
active: true,
|
||||||
currentWindow: true
|
currentWindow: true
|
||||||
}, loadTabData);
|
}, onTabs);
|
||||||
|
|
||||||
function onTabs(tabs) {
|
function onTabs(tabs) {
|
||||||
chrome.storage.sync.get(['videoid'], function(result) {
|
chrome.storage.sync.get(['videoid'], function(result) {
|
||||||
|
|||||||
Reference in New Issue
Block a user