mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
(WIP) Added spinner (#39)
This commit is contained in:
@ -57,7 +57,9 @@ App.Router = function(pathJs, _, jQuery, util, appState, presenterManager) {
|
||||
additionalParams,
|
||||
{previousRoute: pathJs.routes.previous});
|
||||
|
||||
presenterManager.switchContentPresenter( presenterName, finalParams);
|
||||
var presenter = App.DI.get(presenterName);
|
||||
presenter.name = presenterName;
|
||||
presenterManager.switchContentPresenter(presenter, finalParams);
|
||||
}).enter(function(e) {
|
||||
if (util.isExitConfirmationEnabled()) {
|
||||
if (window.location.href !== previousLocation) {
|
||||
|
Reference in New Issue
Block a user