From 7c6af8df89bb5a8a38cb6117c545df84fcf406f4 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 15 Feb 2024 22:17:28 +0000 Subject: [PATCH] . --- atlas/templates/atlas/collection_viva.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/atlas/templates/atlas/collection_viva.html b/atlas/templates/atlas/collection_viva.html index d66a86c6..1eefa268 100644 --- a/atlas/templates/atlas/collection_viva.html +++ b/atlas/templates/atlas/collection_viva.html @@ -101,13 +101,13 @@ } else { $('#current-case-series').text("Series: " + $(this).data('series')); } - bc.postMessage({"type": "open", "url" : url}); - //if (win2 == false || win2.closed) { - // win2 = openSecondaryWindow(url); - // console.log('opened', win2) - //} else { - // win2.location.href = url - //} + //bc.postMessage({"type": "open", "url" : url}); + if (win2 == false || win2.closed) { + win2 = openSecondaryWindow(url); + console.log('opened', win2) + } else { + win2.location.href = url + } //win2 = openSecondaryWindow(url); }) $('.send-message').click(function() {