We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e71cfa3 + 954d270 commit 4faf642Copy full SHA for 4faf642
index.html
@@ -84,9 +84,10 @@ <h2>Result</h2>
84
(e.dataTransfer || e.target).files[0],
85
function (img) {
86
if (!(img.src || img instanceof HTMLCanvasElement)) {
87
- img = $(
+ img = $('<p>'+
88
'<span class="label label-important">Error</span>' +
89
- ' <span>Loading image file failed</span>'
+ ' <span>Loading image file failed</span>'+
90
+ '</p>
91
);
92
}
93
result.children().replaceWith(img);
0 commit comments