diff --git a/Web/cache.appcache b/Web/cache.appcache index 996dcf0..1094b86 100644 --- a/Web/cache.appcache +++ b/Web/cache.appcache @@ -1,5 +1,5 @@ CACHE MANIFEST - +# v1 index.html js css diff --git a/Web/js/main.js b/Web/js/main.js index d51db93..6a8556d 100644 --- a/Web/js/main.js +++ b/Web/js/main.js @@ -99,6 +99,8 @@ $(document).ready(function() { latest.onload = function() { if( this.response ) { var lapp = JSON.parse(this.response); + alert(lapp.version); + alert(app.manifest.version); if( lapp.version != app.manifest.version && confirm('A new version of this app is available, do you want to update?')) { var ins = navigator.mozApps.install('http://mdibaiee.github.io/Sketchy/Web/manifest-web.webapp'); diff --git a/Web/js/mobile.css b/Web/js/mobile.css deleted file mode 100644 index e69de29..0000000