Fix prefetch bug in imageViewerViewports
This commit is contained in:
1 parent
b49c36493e
commit
1d025623e5
1 file changed
+4
@@ -294,6 +294,10 @@ function loadSeriesIntoViewport(data) {
|
||||
OHIF.viewer.updateImageSynchronizer.add(element);
|
||||
displayReferenceLines(element);
|
||||
}
|
||||
|
||||
if (viewportIndex === Session.get('activeViewport')) {
|
||||
enablePrefetchOnElement(element);
|
||||
}
|
||||
}, function(error) {
|
||||
// If something goes wrong while loading the image, fire the error handler.
|
||||
errorLoadingHandler(element, imageId, error);
|
||||
|
||||
Reference in new issue
Block a user