This commit is contained in:
Official Noob 2019-01-18 20:20:50 +00:00 committed by GitHub
parent 527c999ed5
commit f81365414c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ if(id = youtube_parser(document.URL)){ // Direct Links
chrome.runtime.onMessage.addListener( // Detect URL Changes chrome.runtime.onMessage.addListener( // Detect URL Changes
function(request, sender, sendResponse) { function(request, sender, sendResponse) {
if (request.message === 'ytvideoid') { // Message for background script if (request.message === 'ytvideoid') { // Message from background script
SponsorsLookup(request.id); SponsorsLookup(request.id);
} }
}); });