Commit 87b9af80 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Remove unneeded query from RepoEditor.p.initMonaco

parent eac230ce
......@@ -21,14 +21,11 @@ export default class RepoEditor {
initMonaco() {
monacoLoader(['vs/editor/editor.main'], () => {
this.monacoEditor = monaco.editor
.create(
document.getElementById('ide'), {
this.monacoEditor = monaco.editor.create(this.el, {
model: null,
readOnly: true,
contextmenu: false,
},
);
});
Helper.monacoInstance = monaco;
this.initVue();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment