diff --git a/Web/js/main.js b/Web/js/main.js index 816cbc7..c4d17a5 100644 --- a/Web/js/main.js +++ b/Web/js/main.js @@ -99,10 +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? ' + app.manifest.version + ' to ' + lapp.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'); ins.onsuccess = function() { alert('The app was installed successfuly'); diff --git a/Web/manifest-web.webapp b/Web/manifest-web.webapp index f641d16..1fb4597 100644 --- a/Web/manifest-web.webapp +++ b/Web/manifest-web.webapp @@ -1,7 +1,7 @@ { "name": "Sketchy Web", "description": "Free Sketch/Paint app", - "version": "1.2", + "version": "1.3", "default_locale": "en", "launch_path": "/Sketchy/Web/index.html", "icons": {