From 8afc9d55591a88b6b95f734f68666aea7ac7f1de Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 19 Aug 2021 15:30:05 +0100 Subject: [PATCH] . --- rapids/templates/rapids/question_display_block.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rapids/templates/rapids/question_display_block.html b/rapids/templates/rapids/question_display_block.html index 356a97b9..3afce2ba 100755 --- a/rapids/templates/rapids/question_display_block.html +++ b/rapids/templates/rapids/question_display_block.html @@ -355,9 +355,9 @@ }); function getJsonToolStateNoId() { - const el = document.getElementById("dicom-image"); + let el = $(".single-dicom-viewer").get(0); - const c = cornerstone.getEnabledElement(el); + let c = cornerstone.getEnabledElement(el); const toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager;