1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-17 20:11:12 +02:00

fix things to show/hide on each platform

This commit is contained in:
Kushagra Gour
2018-01-13 12:21:34 +05:30
parent 3429ba34ab
commit 3a23861711
3 changed files with 14 additions and 4 deletions

View File

@@ -215,4 +215,9 @@
window.chrome.i18n = { getMessage: () => {} };
window.IS_EXTENSION = !!window.chrome.extension;
if (window.IS_EXTENSION) {
document.body.classList.add('is-extension');
} else {
document.body.classList.add('is-app');
}
})();