change to stop button

This commit is contained in:
Reimar 2025-10-10 12:13:25 +02:00
parent eec7f160d9
commit f37bd3b7bd

View File

@ -62,7 +62,8 @@ editor.addEventListener("change", (ev) => {
runButton.onclick = (ev) => {
const code = editor.getValue();
runCode(code, consoleCode);
runButton.textContent = "⚙️ Running...";
runButton.textContent = "◼ Stop";
runButton.classList.add("active");
};
function downloadFile(content, mime, extension) {