From a67e9e6d0f1acab305a6f392a233c2e2bf2800ff Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Mon, 10 Feb 2014 15:09:57 +0330 Subject: [PATCH] Update Manager --- Web/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/js/main.js b/Web/js/main.js index 6a8556d..d33590a 100644 --- a/Web/js/main.js +++ b/Web/js/main.js @@ -103,7 +103,7 @@ $(document).ready(function() { 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'); + var ins = navigator.mozApps.install(); ins.onsuccess = function() { alert('The app was installed successfuly'); }