Sync Video ID with Storage API

This commit is contained in:
Official Noob
2019-08-08 14:44:48 +01:00
committed by GitHub
parent a9ea22f505
commit 22e7c6a40d

View File

@@ -179,11 +179,12 @@ document.onkeydown = function(e){
}
function videoIDChange(id) {
//not a url change
if (sponsorVideoID == id){
return;
}
//not a url change
if (sponsorVideoID == id) return;
chrome.storage.sync.set({videoid: id});
//close popup
closeInfoMenu();