We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f272f65 commit 5da480fCopy full SHA for 5da480f
2 files changed
src/webpage/executeTab/etab.ts
@@ -84,6 +84,9 @@ class Etab {
84
updateSpeed();
85
};
86
}
87
+ isReady() {
88
+ return !!this.sys;
89
+ }
90
stop() {
91
this.stopped = true;
92
this.changeButtonStates();
src/webpage/index.ts
@@ -366,7 +366,7 @@ editButton.onclick = () => {
366
editArea();
367
368
executeButton.onclick = () => {
369
- executeArea();
+ if (system.isReady()) executeArea();
370
371
let system = new Etab();
372
0 commit comments