From 5f8646834a512fd85c5823c93be7754507b29857 Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Sun, 31 Mar 2024 21:19:13 +0000 Subject: [PATCH] Update 'frontend.js' --- frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {