compatibility fix for Chrome v57.0.2987.98 based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286348011
This commit is contained in:
parent
eec08b04c3
commit
9e4faa9a29
|
@ -196,3 +196,10 @@ chrome.storage.local.get('version', prefs => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// bouncing back 'updatePopup' to popup
|
||||||
|
chrome.runtime.onMessage.addListener((request, sender) => {
|
||||||
|
if (request.method === 'updatePopup') {
|
||||||
|
chrome.runtime.sendMessage(request);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user