From 54e0ec79b835e6edadfe1903f3920f8496cabec3 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 15 Aug 2015 13:33:32 -0700 Subject: [PATCH] Build web page. --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 0335d19f9..bbca40e55 100644 --- a/index.html +++ b/index.html @@ -90,7 +90,9 @@ function imagePreview() { } function storeInstall(e) { if (!e.shiftKey && !e.altKey && !e.ctrlKey && !e.metaKey && e.button === 0) { - chrome.webstore.install(); + chrome.webstore.install(this.href, function(){}, function(){ + location.href = this.href; + }); e.preventDefault(); } }