aboutsummaryrefslogtreecommitdiff
path: root/demo/src/index.ts
diff options
context:
space:
mode:
authorlironh2020-03-22 08:42:02 +0200
committerlironh2020-03-22 08:42:02 +0200
commit9ece5bd28144f34fc336a37f4688a23371778603 (patch)
tree7a4e2df1ca890141623353702dc875f850174ba6 /demo/src/index.ts
parentfeat(demo): saving user history (diff)
downloadavr8js-9ece5bd28144f34fc336a37f4688a23371778603.tar.gz
avr8js-9ece5bd28144f34fc336a37f4688a23371778603.tar.bz2
avr8js-9ece5bd28144f34fc336a37f4688a23371778603.zip
feat(demo): saving user history
Diffstat (limited to '')
-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 = '';
}
}