X-Git-Url: https://git.mdrn.pl/wl-mobile.git/blobdiff_plain/ece057f255f997085854b36d6f858b97dad44546..refs/heads/offline:/assets/www/js/main.js diff --git a/assets/www/js/main.js b/assets/www/js/main.js index b4022d2..f2c658f 100644 --- a/assets/www/js/main.js +++ b/assets/www/js/main.js @@ -7,7 +7,7 @@ var WL = 'http://www.wolnelektury.pl'; // disable debugging -console.log = function(text) {}; +//console.log = function(text) {}; function onLoad() { @@ -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);