diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/editor.js b/js/editor.js index 160a315..7ea57a7 100644 --- a/js/editor.js +++ b/js/editor.js @@ -259,6 +259,7 @@ var Files_Texteditor = { +'<div id="preview_wrap"><div id="preview"></div></div></div></div>'); $('#app-content').append(container); + // Get the file data this.loadFile( file.dir, @@ -287,6 +288,11 @@ var Files_Texteditor = { } else { _self.previewPluginOnChange = null; } + + // IE8 support + if(!OC.Util.hasSVGSupport()){ //replace all svg images with png images for browser that dont support svg + OC.Util.replaceSVG(); + } }, function(message){ // Oh dear |