mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-18 12:31:12 +02:00
add check for window.chrome
This commit is contained in:
@@ -181,5 +181,6 @@
|
|||||||
once: once
|
once: once
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.chrome = window.chrome || {};
|
||||||
window.chrome.i18n = { getMessage: () => {} };
|
window.chrome.i18n = { getMessage: () => {} };
|
||||||
})();
|
})();
|
||||||
|
Reference in New Issue
Block a user