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 {
|
||||
start: start,
|
||||
done: done,
|
||||
|
Reference in New Issue
Block a user