diff --git a/assets/js/jspg.js b/assets/js/jspg.js index 1c797ba..d18afb9 100644 --- a/assets/js/jspg.js +++ b/assets/js/jspg.js @@ -1,7 +1,7 @@ const flask = getEditor("#code", "js") let consoleElmt = document.getElementById("console") -function run(elmtID) { +function run() { console = newConsole console.clear() try { diff --git a/js.html b/js.html index 45c31e0..248b76d 100644 --- a/js.html +++ b/js.html @@ -11,7 +11,7 @@

Javascript Playground

- +