Commit 1989b667 authored by Phil Hughes's avatar Phil Hughes

Fixed JS issue with diff image loading

parent 090f2344
...@@ -119,6 +119,7 @@ class @ImageFile ...@@ -119,6 +119,7 @@ class @ImageFile
requestImageInfo: (img, callback) -> requestImageInfo: (img, callback) ->
domImg = img.get(0) domImg = img.get(0)
if domImg
if domImg.complete if domImg.complete
callback.call(this, domImg.naturalWidth, domImg.naturalHeight) callback.call(this, domImg.naturalWidth, domImg.naturalHeight)
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment