mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added protection against never-ending progress
This commit is contained in:
@ -28,6 +28,12 @@ App.Presenters.ProgressPresenter = function(nprogress) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.setInterval(function() {
|
||||||
|
if (nesting <= 0) {
|
||||||
|
nprogress.done();
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
start: start,
|
start: start,
|
||||||
done: done,
|
done: done,
|
||||||
|
Reference in New Issue
Block a user