fix meta for new load regime
This commit is contained in:
parent
490cdcbce4
commit
4caa258eab
2 changed files with 12 additions and 12 deletions
18
js/meta.js
18
js/meta.js
|
|
@ -240,13 +240,6 @@ THREE.Face3.prototype.mVisible = function(show) {
|
|||
* LETS_GET_THIS_PARTY_STARTED()
|
||||
******************************************************************* */
|
||||
|
||||
if (MOTO.KV.__mem__) alert(
|
||||
"browser is blocking local storage or\n"+
|
||||
"3rd party cookies required to store\n" +
|
||||
"application state.");
|
||||
|
||||
SPACE.addEventListener(DOC, 'DOMContentLoaded', metaInit, false);
|
||||
|
||||
function metaInit() {
|
||||
SPACE.showSkyGrid(false);
|
||||
SPACE.setSkyColor(0xf8f8f8);
|
||||
|
|
@ -2122,4 +2115,15 @@ THREE.Face3.prototype.mVisible = function(show) {
|
|||
}
|
||||
}
|
||||
|
||||
if (MOTO.KV.__mem__) alert(
|
||||
"browser is blocking local storage or\n"+
|
||||
"3rd party cookies required to store\n" +
|
||||
"application state.");
|
||||
|
||||
if (DOC.readyState === 'loading') {
|
||||
SPACE.addEventListener(DOC, 'DOMContentLoaded', metaInit, false);
|
||||
} else {
|
||||
metaInit();
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue