Remove useless arg

This commit is contained in:
Romain de Laage 2021-04-02 22:04:06 +02:00
parent 43f7689a30
commit c8efd09b45
Signed by: rdelaage
GPG Key ID: 534845FADDF0C329
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
const flask = getEditor("#code", "js")
let consoleElmt = document.getElementById("console")
function run(elmtID) {
function run() {
console = newConsole
console.clear()
try {

View File

@ -11,7 +11,7 @@
<h1>Javascript Playground</h1>
</header>
<div id="codeContainer"><div id="code"></div></div>
<input type="button" onclick="run('code')" value="Exécuter !" id="runBtn" />
<input type="button" onclick="run()" value="Exécuter !" id="runBtn" />
<div id="console">
</div>
<footer>