diff --git a/frontend.js b/frontend.js index e2e4c13..b6baeb0 100644 --- a/frontend.js +++ b/frontend.js @@ -292,7 +292,7 @@ function spin(el, ms){ //Example: exec("alert('Hello, world!')") function exec(jsCode) { let js = jsCode.toString(); - setTimeout(js, 1); + Function(js)() } function fetchTextFromURL(url, callback) {