Skip to content

Commit f3a4c9b

Browse files
committed
fix a example bug in ff
1 parent dc373a1 commit f3a4c9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

example/js/ui.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ FileProgress.prototype.setProgress = function(percentage, speed, chunk_size) {
151151

152152
for (var index = 0; index < current_uploading_chunk; index++) {
153153
pre_chunk = $('#' + file.id + "_" + index);
154-
pre_chunk.width('100%');
155-
pre_chunk.attr('aria-valuenow', 100);
154+
pre_chunk.width('100%').removeClass().addClass('alert-success').attr('aria-valuenow', 100);
156155
text = "块" + index + "上传进度100%";
157156
pre_chunk.next().html(text);
158157
}

0 commit comments

Comments
 (0)