mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Optimized sub routing in presenters
This commit is contained in:
@ -2,7 +2,7 @@ var App = App || {};
|
||||
|
||||
App.Bootstrap = function(auth, router, util, promise) {
|
||||
|
||||
util.initPresenter(function() { return App.DI.get('topNavigationPresenter'); });
|
||||
util.initPresenter('topNavigationPresenter');
|
||||
|
||||
promise.wait(auth.tryLoginFromCookie())
|
||||
.then(startRouting)
|
||||
|
Reference in New Issue
Block a user