From 48a704c3cc0efbf675d99816e84412fa9c76a3ae Mon Sep 17 00:00:00 2001 From: boxgaming <75969133+boxgaming@users.noreply.github.com> Date: Sun, 12 Jun 2022 15:01:46 -0500 Subject: [PATCH] updated to correctly use "auto" parameter when "src" is also specified --- index.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 5ddfe17..f563703 100644 --- a/index.html +++ b/index.html @@ -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(); + init(); \ No newline at end of file