.
This commit is contained in:
+1
-1
@@ -957,7 +957,7 @@ async function loadQuestion(n, section = 1, force_reload = false) {
|
|||||||
$("#figure-" + id).append(img);
|
$("#figure-" + id).append(img);
|
||||||
|
|
||||||
// otherwise try to load it as a dicom (if it starts with data)
|
// 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
|
// convert the data url to a file
|
||||||
viewer
|
viewer
|
||||||
.urltoFile(based_img, "dicom", "application/dicom")
|
.urltoFile(based_img, "dicom", "application/dicom")
|
||||||
|
|||||||
Reference in New Issue
Block a user