aboutsummaryrefslogtreecommitdiff
path: root/demo/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src/index.ts')
-rw-r--r--demo/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/src/index.ts b/demo/src/index.ts
index 4246547..e3f9a67 100644
--- a/demo/src/index.ts
+++ b/demo/src/index.ts
@@ -102,9 +102,9 @@ async function compileAndRun() {
}
} catch (err) {
runButton.removeAttribute('disabled');
+ revertButton.removeAttribute('disabled');
alert('Failed: ' + err);
} finally {
- revertButton.removeAttribute('disabled');
statusLabel.textContent = '';
}
}