Browse Source

fix download button for android

Signed-off-by: R4SAS <r4sas@i2pmail.org>
master
R4SAS 3 years ago
parent
commit
0ce882515c
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      js/app.js

2
js/app.js

@ -7,7 +7,7 @@ function renderDownloadButton() { @@ -7,7 +7,7 @@ function renderDownloadButton() {
} else if (window.navigator.userAgent.toUpperCase().indexOf("ANDROID") !== -1) {
dl_btn.innerText = document.webL10n.get("header.dl-btn-android", null, "Download for Android");
dl_btn.setAttribute("href", droid_asset[0].browser_download_url);
dl_btn.setAttribute("href", "https://github.com/PurpleI2P/i2pd-android/releases/latest");
} else {
dl_btn.innerText = document.webL10n.get("header-dl-btn", null, "Downloads");

Loading…
Cancel
Save