Skip to content

Commit

Permalink
fixes #2464 ie11 append missing
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymovin committed Feb 16, 2021
1 parent 1621a68 commit 52994f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion player/js/utils/imagePreloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ var ImagePreloader = (function () {
this._imageLoaded();
}.bind(this), false);
img.setAttributeNS('http://www.w3.org/1999/xlink', 'href', path);
this._elementHelper.append(img);
if (this._elementHelper.append) {
this._elementHelper.append(img);
} else {
this._elementHelper.appendChild(img);
}
var ob = {
img: img,
assetData: assetData,
Expand Down

0 comments on commit 52994f8

Please sign in to comment.