other changes

This commit is contained in:
Jason Miller
2020-11-12 09:16:45 -05:00
parent fc490b48ff
commit b489d9cd5b
9 changed files with 67 additions and 22079 deletions

View File

@@ -10,7 +10,7 @@ if (!('customElements' in self)) {
init();
}
if (typeof process.env.PRERENDER === 'undefined') {
if (typeof window !== 'undefined') {
// Determine the current display mode.
let displayMode = 'browser';
const mqStandAlone = '(display-mode: standalone)';