mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed error messages covered with content spinner
This commit is contained in:
@ -63,7 +63,10 @@ App.Presenters.PostPresenter = function(
|
||||
historyTemplate = _.template(historyTemplateHtml);
|
||||
|
||||
reinit(args, loaded);
|
||||
}).fail(showGenericError);
|
||||
}).fail(function(response) {
|
||||
showGenericError(response);
|
||||
loaded();
|
||||
});
|
||||
}
|
||||
|
||||
function reinit(args, loaded) {
|
||||
@ -80,7 +83,10 @@ App.Presenters.PostPresenter = function(
|
||||
topNavigationPresenter.changeTitle('@' + post.id);
|
||||
render();
|
||||
loaded();
|
||||
}).fail(showGenericError);
|
||||
}).fail(function(response) {
|
||||
showGenericError(response);
|
||||
loaded();
|
||||
});
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
Reference in New Issue
Block a user