diff --git a/core/modules/widgets/edit-bitmap.js b/core/modules/widgets/edit-bitmap.js index 11728bea0..b94b24955 100644 --- a/core/modules/widgets/edit-bitmap.js +++ b/core/modules/widgets/edit-bitmap.js @@ -80,7 +80,9 @@ EditBitmapWidget.prototype.render = function(parent,nextSibling) { parent.insertBefore(this.heightDomNode,nextSibling); this.domNodes.push(this.canvasDomNode,this.widthDomNode,this.heightDomNode); // Load the image into the canvas - this.loadCanvas(); + if($tw.browser) { + this.loadCanvas(); + } }; /*