Fixing console errors related to cornerstone
This commit is contained in:
1 parent
04da9310d1
commit
af611109c0
5 files changed
+36
-7
No files matched your search
@@ -430,6 +430,13 @@ function createQualitativeTargetTool(toolType, responseText='') {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check if the element is enabled and stop here if not
|
||||
try {
|
||||
cornerstone.getEnabledElement(element);
|
||||
} catch (error) {
|
||||
return;
|
||||
}
|
||||
|
||||
const config = cornerstoneTools[toolType].getConfiguration();
|
||||
|
||||
const coords = eventData.currentPoints.canvas;
|
||||
|
||||
Reference in new issue
Block a user