This commit is contained in:
Ross
2021-12-12 22:24:39 +00:00
parent 2916ca8dd8
commit fa9578cc6a
+4 -5
View File
@@ -37,15 +37,14 @@ let timer = null;
let use_local_question_cache = false; let use_local_question_cache = false;
window.location.search.substr(1).split("&").forEach((item) => window.location.search.substr(1).split("&").forEach((item) => {
{ let s = item.split("=");
s = item.split("=");
if (s[0] == "cid") { if (s[0] == "cid") {
$("#cid-box").val(s[1]); global_cid = s[1];
} }
if (s[0] == "passcode") { if (s[0] == "passcode") {
$("#passcode-box").val(s[1]); global_passcode = s[1];
} }
}); });