mirror of
https://github.com/boxgaming/qbjs.git
synced 2024-09-19 20:14:58 +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
|
@ -316,6 +316,10 @@
|
|||
|
||||
var warnCount = 0;
|
||||
window.onresize();
|
||||
|
||||
if (appMode == "auto") {
|
||||
runProgram();
|
||||
}
|
||||
}
|
||||
|
||||
async function runProgram() {
|
||||
|
@ -604,11 +608,6 @@
|
|||
setTimeout(checkButtonState, 100);
|
||||
}
|
||||
checkButtonState();
|
||||
|
||||
if (appMode == "auto") {
|
||||
runProgram();
|
||||
}
|
||||
|
||||
init();
|
||||
</script>
|
||||
</html>
|
Loading…
Reference in a new issue