Permalink
Browse files

log install location

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

0 comments on commit b0ee054

Please sign in to comment.