Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #21 from phoenix303/master
Browse files Browse the repository at this point in the history
Multiple errors for non blob files - fixed
  • Loading branch information
blueimp committed Apr 23, 2013
2 parents e71cfa3 + 954d270 commit 4faf642
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Expand Up @@ -84,9 +84,10 @@ <h2>Result</h2>
(e.dataTransfer || e.target).files[0],
function (img) {
if (!(img.src || img instanceof HTMLCanvasElement)) {
img = $(
img = $('<p>'+
'<span class="label label-important">Error</span>' +
' <span>Loading image file failed</span>'
' <span>Loading image file failed</span>'+
'</p>
);
}
result.children().replaceWith(img);
Expand Down

0 comments on commit 4faf642

Please sign in to comment.