This commit is contained in:
Ross
2024-02-15 22:21:36 +00:00
parent bd1a4fb529
commit ec7c354945
+7 -7
View File
@@ -101,13 +101,13 @@
} else { } else {
$('#current-case-series').text("Series: " + $(this).data('series')); $('#current-case-series').text("Series: " + $(this).data('series'));
} }
//bc.postMessage({"type": "open", "url" : url}); bc.postMessage({"type": "open", "url" : url});
if (win2 == false || win2.closed) { //if (win2 == false || win2.closed) {
win2 = openSecondaryWindow(url); // win2 = openSecondaryWindow(url);
console.log('opened', win2) // console.log('opened', win2)
} else { //} else {
win2.location.href = url // win2.location.href = url
} //}
//win2 = openSecondaryWindow(url); //win2 = openSecondaryWindow(url);
}) })
$('.send-message').click(function() { $('.send-message').click(function() {