From 5d4a2a8953d9c629f5fc668217b02240ae46626f Mon Sep 17 00:00:00 2001 From: Florian <88926852+Gruetzig@users.noreply.github.com> Date: Thu, 13 Apr 2023 17:24:47 +0200 Subject: [PATCH] Readd Old 3DS/New 3DS model table (#2248) Commit abe4f29aeafed884efc8b18c56bf5d975dcf079d missed the existence of safecerthax, which would have caused an error on specific firmware versions. This partially reverts commit abe4f29aeafed884efc8b18c56bf5d975dcf079d. --- _includes/consoleVersionSelect.html | 6 +++--- assets/js/selecting.js | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_includes/consoleVersionSelect.html b/_includes/consoleVersionSelect.html index 72b48d6a58..e78a17e77b 100644 --- a/_includes/consoleVersionSelect.html +++ b/_includes/consoleVersionSelect.html @@ -1,4 +1,4 @@ - +
diff --git a/assets/js/selecting.js b/assets/js/selecting.js index eb28390102..f7ee965582 100644 --- a/assets/js/selecting.js +++ b/assets/js/selecting.js @@ -75,15 +75,15 @@ function redirect() { var minor = document.getElementById("minor"); var nver = document.getElementById("nver"); var region = document.getElementById("region"); - //var isN3DS = document.getElementById("new3DS").checked; - //var isO3DS = document.getElementById("old3DS").checked; + var isN3DS = document.getElementById("new3DS").checked; + var isO3DS = document.getElementById("old3DS").checked; document.getElementById("result_noneSelected").style.display = "none"; document.getElementById("result_invalidVersion").style.display = "none"; document.getElementById("result_methodUnavailable").style.display = "none"; - //if ((!isN3DS) && (!isO3DS)) { - // document.getElementById("result_noneSelected").style.display = "block"; - //} - if (major.value == 0) { + if ((!isN3DS) && (!isO3DS)) { + document.getElementById("result_noneSelected").style.display = "block"; + } + else if (major.value == 0) { document.getElementById("result_invalidVersion").style.display = "block"; } // only do things if major isnt 0, which would be invalid