1
1
Fork 0
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:
boxgaming 2022-06-12 15:01:46 -05:00
parent 8a0c342d26
commit 48a704c3cc

View file

@ -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>