Update 'frontend.js'

This commit is contained in:
nodemixaholic 2024-03-31 21:19:13 +00:00
parent 73a26323ca
commit 5f8646834a

View file

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