From 831f8e9624e3d6a3980289a9306356f1d6d546a9 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 19 Aug 2021 15:32:11 +0100 Subject: [PATCH] . --- rapids/templates/rapids/question_display_block.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rapids/templates/rapids/question_display_block.html b/rapids/templates/rapids/question_display_block.html index 3afce2ba..80f25225 100755 --- a/rapids/templates/rapids/question_display_block.html +++ b/rapids/templates/rapids/question_display_block.html @@ -359,11 +359,11 @@ let c = cornerstone.getEnabledElement(el); - const toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager; + let toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager; - const image_id = c.image.imageId; + let image_id = c.image.imageId; - const state_with_id = toolStateManager.saveToolState() + let state_with_id = toolStateManager.saveToolState() const json_tool_state = JSON.stringify(state_with_id[image_id]);