webkit hotfix
This commit is contained in:
parent
fc220d0363
commit
209887ad47
1 changed files with 2 additions and 3 deletions
|
|
@ -58,12 +58,11 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
// Imports CSS once per DOM document ('ace_editor' serves as an identifier).
|
// Imports CSS once per DOM document ('ace_editor' serves as an identifier).
|
||||||
dom.importCssString(editorCss, "ace_editor", container.ownerDocument);
|
dom.importCssString(editorCss, "ace_editor", container.ownerDocument);
|
||||||
dom.addCssClass(this.container, "ace_editor");
|
|
||||||
|
|
||||||
// Chrome has some strange rendering issues if this is not done async
|
// Chrome has some strange rendering issues if this is not done async
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
dom.addCssClass(this.container, "ace_editor");
|
dom.addCssClass(container, "ace_editor");
|
||||||
}.bind(this), 0)
|
}, 0)
|
||||||
|
|
||||||
this.setTheme(theme);
|
this.setTheme(theme);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue