X-Git-Url: https://git.mdrn.pl/wl-mobile.git/blobdiff_plain/47c6f3ce00bf63377aa1f4f4332039534ff7d7ee..e02aa48b6f2b7ddca9b55c56288cd2512702da6d:/assets/www/js/main.js diff --git a/assets/www/js/main.js b/assets/www/js/main.js index 00d8b29..f3a1eee 100644 --- a/assets/www/js/main.js +++ b/assets/www/js/main.js @@ -3,7 +3,6 @@ * Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. */ -var VERSION = '1.0'; var WL = 'http://www.wolnelektury.pl'; @@ -27,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);