X-Git-Url: https://git.mdrn.pl/wl-mobile.git/blobdiff_plain/ece057f255f997085854b36d6f858b97dad44546..e02aa48b6f2b7ddca9b55c56288cd2512702da6d:/assets/www/js/main.js?ds=sidebyside diff --git a/assets/www/js/main.js b/assets/www/js/main.js index b4022d2..f3a1eee 100644 --- a/assets/www/js/main.js +++ b/assets/www/js/main.js @@ -26,8 +26,10 @@ function onDeviceReady() { 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);