This commit is contained in:
Ross
2021-04-18 12:31:11 +01:00
parent aeb6e4159d
commit 1524cccadf
+1 -1
View File
@@ -957,7 +957,7 @@ async function loadQuestion(n, section = 1, force_reload = false) {
$("#figure-" + id).append(img);
// otherwise try to load it as a dicom (if it starts with data)
} elif(based_img.startsWith("data:")) {
} else if(based_img.startsWith("data:")) {
// convert the data url to a file
viewer
.urltoFile(based_img, "dicom", "application/dicom")