mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-11 09:30:46 +01:00
Fixed broken voting.
This commit is contained in:
parent
7335429541
commit
9e8a520d1e
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ chrome.tabs.onUpdated.addListener(function(tabId) {
|
|||
}, () => void chrome.runtime.lastError ); // Suppress error on Firefox
|
||||
});
|
||||
|
||||
chrome.runtime.onMessage.addListener(async function (request, sender, callback) {
|
||||
await wait(() => SB.config !== undefined);
|
||||
|
||||
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
||||
switch(request.message) {
|
||||
case "submitTimes":
|
||||
submitTimes(request.videoID, callback);
|
||||
|
|
Loading…
Reference in a new issue