This commit is contained in:
Jeremy Schomery 2017-03-14 12:32:53 +03:30
parent eec08b04c3
commit 9e4faa9a29

View File

@ -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);
}
});