This commit is contained in:
Ross
2021-12-12 22:24:39 +00:00
parent 2916ca8dd8
commit fa9578cc6a
+9 -10
View File
@@ -37,17 +37,16 @@ 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") { global_cid = s[1];
$("#cid-box").val(s[1]);
} }
if (s[0] == "passcode") { if (s[0] == "passcode") {
$("#passcode-box").val(s[1]); global_passcode = s[1];
} }
}); });
cornerstone.imageCache.setMaximumSizeBytes(5128800); cornerstone.imageCache.setMaximumSizeBytes(5128800);