From ec7c354945ed82d1c15d83b27458e6a5b8d5254c Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 15 Feb 2024 22:21:36 +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 1f81ceca..2a9b76bb 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() {