Build web page.

This commit is contained in:
ccd0 2015-08-15 13:33:32 -07:00
parent fe0b5a9537
commit 54e0ec79b8

View File

@ -90,7 +90,9 @@ function imagePreview() {
} }
function storeInstall(e) { function storeInstall(e) {
if (!e.shiftKey && !e.altKey && !e.ctrlKey && !e.metaKey && e.button === 0) { 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(); e.preventDefault();
} }
} }