Fix syntax highlighting error

This commit is contained in:
R. Richard 2019-09-03 14:57:19 +02:00
parent 62e0a99478
commit 0019683b21
1 changed files with 1 additions and 1 deletions

View File

@ -94,6 +94,7 @@ export class IdeComponent implements OnInit {
}
this.code = (message.content != null) ? message.content : this.code;
this.files = message.files;
this.autoDetectEditorLanguage(this.filename);
}
}
@ -141,7 +142,6 @@ export class IdeComponent implements OnInit {
}
this.filename = file;
this.requestCode();
this.autoDetectEditorLanguage(this.filename);
}
editorWriteHandler() {