diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-19 14:05:16 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-19 14:05:16 +0100 |
commit | 77b20c72d05c6e0e7b498227379c889fecd1c3b0 (patch) | |
tree | a7805bdb6730bc36f6958077906e945d080b6a5d /src | |
parent | 50ab9266a8a51a281b835dd90e72990c9c775d4f (diff) | |
download | svg.js-77b20c72d05c6e0e7b498227379c889fecd1c3b0.tar.gz svg.js-77b20c72d05c6e0e7b498227379c889fecd1c3b0.zip |
missed another one
Diffstat (limited to 'src')
-rw-r--r-- | src/image.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.js b/src/image.js index 57bb387..d6101f3 100644 --- a/src/image.js +++ b/src/image.js @@ -12,7 +12,7 @@ SVG.Image = SVG.invent({ if (!url) return this var self = this - , img = document.createElement('img') + , img = new window.Image() // preload image img.onload = function() { |