From 8c4f12395be83ae8170a8a890f483e655be4472b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 3 May 2021 09:17:23 +0300 Subject: [PATCH] main.js: remove ancient versions code --- static/js/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index 499797d4bbccf..f606fea32e778 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -262,12 +262,6 @@ for (var i = 0; i < linkEls.length; i++) { version = linkEls[i].getAttribute('data-version'); el = linkEls[i]; - - // Windows 64-bit files for 0.x.x need to be prefixed with 'x64/' - if (os === 'Win' && version[1] === '0' && arch === 'x64') { - el.href += arch + '/'; - } - el.href += filename.replace('%version%', version); } }