Fix graphonline scrint loading.

This commit is contained in:
Oleg Sh 2022-02-13 11:57:30 +02:00
parent 430e6a80be
commit 5147afe86e
2 changed files with 2 additions and 2 deletions

View File

@ -738,7 +738,7 @@ $(document).ready(function ()
var isMobile = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i);
if (!isMobile && !DisableEmscripted) {
const jsScript = document.createElement('script');
jsScript.src = 'script/Graphoffline.Emscripten.js';
jsScript.src = '/script/Graphoffline.Emscripten.js';
document.body.appendChild(jsScript);
jsScript.addEventListener('load', () => {
Module['onRuntimeInitialized'] = onRuntimeInitialized;

View File

@ -10,7 +10,7 @@
<script src="<?= Root('i/js/dev/jquery-ui.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 -->
<script>window.yaContextCb=window.yaContextCb||[]</script>