mirror of
https://github.com/moparisthebest/mail
synced 2024-11-25 10:22:18 -05:00
fixed url in install.html
This commit is contained in:
parent
c873008b29
commit
727921841a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user