From 9650ac0d86b1be08dd574f7ccbd711f8194b4c43 Mon Sep 17 00:00:00 2001 From: Darknet Villain Date: Fri, 23 Dec 2016 02:53:14 +0000 Subject: [PATCH] Update app.js --- js/app.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 2fc8a6d..5a29669 100644 --- a/js/app.js +++ b/js/app.js @@ -23,8 +23,6 @@ function renderReleaseInfo(release) { }); if (win_asset.length > 0) { - if (window.navigator.userAgent.indexOf("Trident") === -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(); } @@ -45,6 +43,9 @@ function renderReleaseInfo(release) { } } +if (window.navigator.userAgent.indexOf("Trident") === -1) // IE is fucked +{ + i18next .use(i18nextBrowserLanguageDetector) .use(i18nextXHRBackend) @@ -60,3 +61,5 @@ i18next $.getJSON(url, renderReleaseInfo); } ); + +}