summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-19 14:05:16 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-19 14:06:50 +0100
commitdc846f3eeadf2aa8aa84fe2339b7e647937715ce (patch)
treebf08a8b9f6b864312641dfb850c0b4a9f1006aae /src
parentbc4542df03c147fbee1bc34d1b987ef6c4e7872e (diff)
downloadsvg.js-dc846f3eeadf2aa8aa84fe2339b7e647937715ce.tar.gz
svg.js-dc846f3eeadf2aa8aa84fe2339b7e647937715ce.zip
missed another one
Diffstat (limited to 'src')
-rw-r--r--src/image.js2
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() {