mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-01 23:36:00 +00:00
Fix graphonline scrint loading.
This commit is contained in:
parent
430e6a80be
commit
5147afe86e
@ -738,7 +738,7 @@ $(document).ready(function ()
|
|||||||
var isMobile = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i);
|
var isMobile = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i);
|
||||||
if (!isMobile && !DisableEmscripted) {
|
if (!isMobile && !DisableEmscripted) {
|
||||||
const jsScript = document.createElement('script');
|
const jsScript = document.createElement('script');
|
||||||
jsScript.src = 'script/Graphoffline.Emscripten.js';
|
jsScript.src = '/script/Graphoffline.Emscripten.js';
|
||||||
document.body.appendChild(jsScript);
|
document.body.appendChild(jsScript);
|
||||||
jsScript.addEventListener('load', () => {
|
jsScript.addEventListener('load', () => {
|
||||||
Module['onRuntimeInitialized'] = onRuntimeInitialized;
|
Module['onRuntimeInitialized'] = onRuntimeInitialized;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<script src="<?= Root('i/js/dev/jquery-ui.js')?>"></script>
|
<script src="<?= Root('i/js/dev/jquery-ui.js')?>"></script>
|
||||||
<script src="<?= Root('i/js/dev/jquery.feedback_me.js')?>"></script>
|
<script src="<?= Root('i/js/dev/jquery.feedback_me.js')?>"></script>
|
||||||
<script src="<?= Root("script/example.js?v=55")?>" ></script>
|
<script src="<?= Root("script/example.js?v=56")?>" ></script>
|
||||||
|
|
||||||
<!-- Yandex.RTB -->
|
<!-- Yandex.RTB -->
|
||||||
<script>window.yaContextCb=window.yaContextCb||[]</script>
|
<script>window.yaContextCb=window.yaContextCb||[]</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user