Remove useless arg
This commit is contained in:
parent
43f7689a30
commit
c8efd09b45
|
@ -1,7 +1,7 @@
|
|||
const flask = getEditor("#code", "js")
|
||||
let consoleElmt = document.getElementById("console")
|
||||
|
||||
function run(elmtID) {
|
||||
function run() {
|
||||
console = newConsole
|
||||
console.clear()
|
||||
try {
|
||||
|
|
2
js.html
2
js.html
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue