Skip to content

Commit 4a8fdcc

Browse files
committed
Method api.spinner.progress.setTimeout fixed
1 parent 8d04297 commit 4a8fdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/api.library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ api.spinner.progress.setTimeout = function () {
7575
// Add an incremental safety margin
7676
api.spinner.progress.timeout = Math.ceil(api.spinner.progress.timeout + api.spinner.progress.timeout / 100 * 0.5);
7777

78-
app.upload.progress.instance = setTimeout(function () {
78+
api.spinner.progress.instance = setTimeout(function () {
7979
// Never display 100% as it may need longer than expected to complete
8080
var percentage = Math.min(parseInt($(C_API_SELECTOR_SPINNER + " .progress").find("[name=bar]").attr('aria-valuenow')) + 1, 99);
8181
$(C_API_SELECTOR_SPINNER + " .progress").show();

0 commit comments

Comments
 (0)