summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-27 04:57:21 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-27 04:57:21 +0200
commitc418c33563ecad1baa08f0894adb76b3e79ba4d5 (patch)
tree67745eff0766d8b56c6f2fee028f96b71bb62686
parent4265311d9cc643f0682f0441cc58e1aab4b84102 (diff)
downloadwww-c418c33563ecad1baa08f0894adb76b3e79ba4d5.tar.gz
www-c418c33563ecad1baa08f0894adb76b3e79ba4d5.tar.bz2
www-c418c33563ecad1baa08f0894adb76b3e79ba4d5.zip
install result
-rw-r--r--wallet-installation.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/wallet-installation.html b/wallet-installation.html
index 7920fd3..9a20159 100644
--- a/wallet-installation.html
+++ b/wallet-installation.html
@@ -34,11 +34,12 @@
function onSuccess() {
console.log("installation successful");
- location.reload();
+ document.getElementById("install-result").innerText = "(installation was successful)";
}
function onFailure(detail) {
console.error("installation failed:", detail);
+ document.getElementById("install-result").innerText = "(failed: " + detail + ")";
}
function installWallet() {
@@ -84,7 +85,7 @@
<li id="inline-install-chrome">from this page:
<button onclick="installWallet()" id="install-button">
install now
- </button>
+ </button><div id="install-result"></div>
</li>
</ul>
Wallets for other browsers will be provided in the near future.