danoniplus 40.7.0-a1 → 40.7.0-a2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/danoni_main.js +3 -2
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -77,7 +77,8 @@ const g_isDebug = g_isLocal ||
|
|
|
77
77
|
getQueryParamVal(`debug`) === `true`;
|
|
78
78
|
const isLocalMusicFile = _scoreId => g_isFile && !listMatching(getMusicUrl(_scoreId), [`.js`, `.txt`], { suffix: `$` });
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
window.onload = async () => {
|
|
81
|
+
await new Promise(resolve => setTimeout(resolve, 500));
|
|
81
82
|
g_loadObj.main = true;
|
|
82
83
|
g_currentPage = `initial`;
|
|
83
84
|
const links = document.querySelectorAll(`link`);
|
|
@@ -90,7 +91,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|
|
90
91
|
await loadScript2(`${g_rootPath}../js/lib/danoni_constants.js?${g_randTime}`);
|
|
91
92
|
await loadScript2(`${g_rootPath}../js/lib/legacy_functions.js?${g_randTime}`, false);
|
|
92
93
|
initialControl();
|
|
93
|
-
}
|
|
94
|
+
};
|
|
94
95
|
|
|
95
96
|
/*-----------------------------------------------------------*/
|
|
96
97
|
/* Scene : COMMON [water] */
|