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:06:50 +0100 |
commit | dc846f3eeadf2aa8aa84fe2339b7e647937715ce (patch) | |
tree | bf08a8b9f6b864312641dfb850c0b4a9f1006aae /src | |
parent | bc4542df03c147fbee1bc34d1b987ef6c4e7872e (diff) | |
download | svg.js-dc846f3eeadf2aa8aa84fe2339b7e647937715ce.tar.gz svg.js-dc846f3eeadf2aa8aa84fe2339b7e647937715ce.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() { |