fix undefined el
This commit is contained in:
@@ -537,6 +537,7 @@ export function openMainImage(current_question, t, source) {
|
|||||||
if (figure_to_load == open_figure) {
|
if (figure_to_load == open_figure) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
let el;
|
||||||
el = document.getElementById("dicom-image");
|
el = document.getElementById("dicom-image");
|
||||||
if (el != undefined) {
|
if (el != undefined) {
|
||||||
cornerstone.disable(el);
|
cornerstone.disable(el);
|
||||||
|
|||||||
Reference in New Issue
Block a user