Skip to content

Commit ff8416b

Browse files
committed
fix bug
1 parent a5f338b commit ff8416b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/js/ui.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ FileProgress.prototype.setComplete = function(up, info) {
247247
Wrapper.append(imgWrapper);
248248

249249
var img = new Image();
250-
if (!'/imageView/'.test(url)) {
250+
if (!/imageView/.test(url)) {
251251
url += imageView
252-
} //todo
252+
}
253253
$(img).attr('src', url);
254254

255255
var height_space = 340;

0 commit comments

Comments
 (0)