Fix: remove unused message

This commit is contained in:
eight 2020-02-01 08:52:02 +08:00
parent 3daf47ac46
commit 2b8efaacd5

View File

@ -51,10 +51,6 @@ if (CHROME_HAS_BORDER_BUG) {
}
function onRuntimeMessage(msg) {
if (msg === 'close-popup') {
window.close();
return;
}
switch (msg.method) {
case 'styleAdded':
case 'styleUpdated':