mirror of
https://github.com/boxgaming/qbjs.git
synced 2024-09-20 04:24:45 +00:00
updated to correctly use "auto" parameter when "src" is also specified
This commit is contained in:
parent
8a0c342d26
commit
48a704c3cc
1 changed files with 5 additions and 6 deletions
11
index.html
11
index.html
|
@ -316,6 +316,10 @@
|
||||||
|
|
||||||
var warnCount = 0;
|
var warnCount = 0;
|
||||||
window.onresize();
|
window.onresize();
|
||||||
|
|
||||||
|
if (appMode == "auto") {
|
||||||
|
runProgram();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function runProgram() {
|
async function runProgram() {
|
||||||
|
@ -604,11 +608,6 @@
|
||||||
setTimeout(checkButtonState, 100);
|
setTimeout(checkButtonState, 100);
|
||||||
}
|
}
|
||||||
checkButtonState();
|
checkButtonState();
|
||||||
|
init();
|
||||||
if (appMode == "auto") {
|
|
||||||
runProgram();
|
|
||||||
}
|
|
||||||
|
|
||||||
init();
|
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue