diff --git a/src/app/webide/webide.component.ts b/src/app/webide/webide.component.ts index a0d76bd..135396d 100644 --- a/src/app/webide/webide.component.ts +++ b/src/app/webide/webide.component.ts @@ -89,7 +89,7 @@ export class WebideComponent implements OnInit { } setButtonStateDirty() { - setTimeout(() => {this.saveButtonState = 'DIRTY'; }, 0); + this.saveButtonState = 'DIRTY'; } sendCode() {