fix meta for new load regime

This commit is contained in:
Stewart Allen 2020-03-18 18:51:07 -04:00
commit 4caa258eab
2 changed files with 12 additions and 12 deletions

View file

@ -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();
}
})();