Permalink
Browse files

log install location

  • Loading branch information...
1 parent 60d8ee5 commit 350082f957b419c5373c8e340d655d9df2509871 @ianb committed Apr 23, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 index.html
View
5 index.html
@@ -68,8 +68,9 @@
$('#install').click(function () {
var name = '/' + (querystring('manifest') || 'manifest.webapp');
- var pending = navigator.mozApps.install(location.protocol + '//'
- + location.host + name);
+ var location = location.protocol + '//' + location.host + name;
+ console.log('Installing from', location);
+ var pending = navigator.mozApps.install(location);
pending.onsuccess = function () {
setInstalled();
};

0 comments on commit 350082f

Please sign in to comment.