1
0
mirror of https://github.com/PurpleI2P/purplei2p.github.io synced 2025-01-19 19:10:02 +00:00

Fix IE bug with dirty hack

This commit is contained in:
Darknet Villain 2016-12-09 15:46:07 +00:00 committed by GitHub
parent bd66b42174
commit 2f0ba66ab9

View File

@ -23,7 +23,8 @@ function renderReleaseInfo(release) {
});
if (win_asset.length > 0) {
dl_btn.text(i18next.t("header.dl-btn-windows"));
if (window.navigator.userAgent.indexOf("MSIE") === -1) // IE is fucked
dl_btn.text(i18next.t("header.dl-btn-windows"));
dl_btn.attr("href", win_asset[0].browser_download_url);
all_dls.show();
}