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() {