This commit is contained in:
Ross
2021-04-18 12:35:11 +01:00
parent 3bd9c88a22
commit 71bd329c8a
+5 -5
View File
@@ -579,11 +579,11 @@ export function openMainImage(current_question, t, source) {
// }); // });
} else { } else {
let url; let url;
if (data_url.startsWith("http")) { //if (data_url.startsWith("http")) {
url = data_url; // url = data_url;
} else { //} else {
url = window.location.href.replace(/\/\#\/?$/, "") + "/" + data_url; // url = window.location.href.replace(/\/\#\/?$/, "") + "/" + data_url;
} //}
if (url.endsWith("dcm")) { if (url.endsWith("dcm")) {
url = "wadouri:" + url; url = "wadouri:" + url;