Skip to content

Commit 23b8caf

Browse files
author
David Gillen
committed
Fix for #930
1 parent b6969d7 commit 23b8caf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/easeljs/display/Bitmap.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ this.createjs = this.createjs||{};
212212
**/
213213
p.clone = function(node) {
214214
var image = this.image;
215-
if(image && node){ image = image.cloneNode(); }
215+
if(image && node){
216+
image = image.cloneNode();
217+
image.src = image.src; // IE cloneNode bug fix
218+
}
216219
var o = new Bitmap(image);
217220
if (this.sourceRect) { o.sourceRect = this.sourceRect.clone(); }
218221
this._cloneProps(o);

0 commit comments

Comments
 (0)