CodeMirror.fromTextArea() speedup
This commit is contained in:
parent
41a3415c79
commit
36ceda276a
2
codemirror/lib/codemirror.js
vendored
2
codemirror/lib/codemirror.js
vendored
|
@ -318,7 +318,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gutters.style.display = i ? "" : "none";
|
gutters.style.display = i ? "" : "none";
|
||||||
updateGutterSpace(cm);
|
setTimeout(updateGutterSpace.bind(null, cm), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateGutterSpace(cm) {
|
function updateGutterSpace(cm) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user