1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 04:12:18 -05:00

fixed url in install.html

This commit is contained in:
Tankred Hase 2013-03-29 10:14:43 +01:00
parent c873008b29
commit 727921841a

View File

@ -3,8 +3,7 @@
<p>Packaged app installation page</p>
<script>
// This URL must be a full url.
var baseUrl = window.location;
var manifestUrl = 'http://tanx.github.com/html5-mail/manifest.webapp';
var manifestUrl = window.location.href.replace('install.html', 'manifest.webapp');
var req = navigator.mozApps.install(manifestUrl);
req.onsuccess = function() {
alert('Success: ' + this.result.origin);