change to stop button
This commit is contained in:
parent
eec7f160d9
commit
f37bd3b7bd
3
index.js
3
index.js
@ -62,7 +62,8 @@ editor.addEventListener("change", (ev) => {
|
|||||||
runButton.onclick = (ev) => {
|
runButton.onclick = (ev) => {
|
||||||
const code = editor.getValue();
|
const code = editor.getValue();
|
||||||
runCode(code, consoleCode);
|
runCode(code, consoleCode);
|
||||||
runButton.textContent = "⚙️ Running...";
|
runButton.textContent = "◼ Stop";
|
||||||
|
runButton.classList.add("active");
|
||||||
};
|
};
|
||||||
|
|
||||||
function downloadFile(content, mime, extension) {
|
function downloadFile(content, mime, extension) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user