diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-27 04:57:21 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-27 04:57:21 +0200 |
commit | c418c33563ecad1baa08f0894adb76b3e79ba4d5 (patch) | |
tree | 67745eff0766d8b56c6f2fee028f96b71bb62686 | |
parent | 4265311d9cc643f0682f0441cc58e1aab4b84102 (diff) | |
download | www-c418c33563ecad1baa08f0894adb76b3e79ba4d5.tar.gz www-c418c33563ecad1baa08f0894adb76b3e79ba4d5.zip |
install result
-rw-r--r-- | wallet-installation.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wallet-installation.html b/wallet-installation.html index 7920fd36..9a20159e 100644 --- a/wallet-installation.html +++ b/wallet-installation.html | |||
@@ -34,11 +34,12 @@ | |||
34 | 34 | ||
35 | function onSuccess() { | 35 | function onSuccess() { |
36 | console.log("installation successful"); | 36 | console.log("installation successful"); |
37 | location.reload(); | 37 | document.getElementById("install-result").innerText = "(installation was successful)"; |
38 | } | 38 | } |
39 | 39 | ||
40 | function onFailure(detail) { | 40 | function onFailure(detail) { |
41 | console.error("installation failed:", detail); | 41 | console.error("installation failed:", detail); |
42 | document.getElementById("install-result").innerText = "(failed: " + detail + ")"; | ||
42 | } | 43 | } |
43 | 44 | ||
44 | function installWallet() { | 45 | function installWallet() { |
@@ -84,7 +85,7 @@ | |||
84 | <li id="inline-install-chrome">from this page: | 85 | <li id="inline-install-chrome">from this page: |
85 | <button onclick="installWallet()" id="install-button"> | 86 | <button onclick="installWallet()" id="install-button"> |
86 | install now | 87 | install now |
87 | </button> | 88 | </button><div id="install-result"></div> |
88 | </li> | 89 | </li> |
89 | </ul> | 90 | </ul> |
90 | Wallets for other browsers will be provided in the near future. | 91 | Wallets for other browsers will be provided in the near future. |