mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
show a basic spinner while the app is loading all the js files/series list.
This commit is contained in:
parent
39f0ed9d21
commit
376b386b31
9 changed files with 159 additions and 143 deletions
|
@ -5,8 +5,9 @@ require(
|
|||
'marionette',
|
||||
'Controller',
|
||||
'Series/SeriesCollection',
|
||||
'Navbar/NavbarView',
|
||||
'jQuery/RouteBinder'
|
||||
], function (App, Marionette, Controller, SeriesCollection, RouterBinder) {
|
||||
], function (App, Marionette, Controller, SeriesCollection,NavbarView, RouterBinder) {
|
||||
|
||||
var Router = Marionette.AppRouter.extend({
|
||||
|
||||
|
@ -39,6 +40,7 @@ require(
|
|||
.done(function(){
|
||||
Backbone.history.start({ pushState: true });
|
||||
RouterBinder.bind(App.Router);
|
||||
App.navbarRegion.show(new NavbarView());
|
||||
})
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue