nicer spinner animation, some cleaning
[wl-mobile.git] / assets / www / js / main.js
index b4022d2..f3a1eee 100644 (file)
@@ -26,8 +26,10 @@ function onDeviceReady() {
                        History.init(function() {
                                console.log('after history.init');
                                View.init(function() {
                        History.init(function() {
                                console.log('after history.init');
                                View.init(function() {
-                                       Catalogue.sync(function() {
-                                               Catalogue.updateLocal();
+                                       Menu.init(function() {
+                                               Catalogue.sync(function() {
+                                                       Catalogue.updateLocal();
+                                               }, error);
                                        }, error);
                                }, error);
                        }, error);
                                        }, error);
                                }, error);
                        }, error);