From ccb0b8abcc90662933ae29b912c799edc752a0b7 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 13 Feb 2024 15:04:42 +0000 Subject: [PATCH] . --- atlas/templates/atlas/collection_viva.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/templates/atlas/collection_viva.html b/atlas/templates/atlas/collection_viva.html index c1832990..c4f2e742 100644 --- a/atlas/templates/atlas/collection_viva.html +++ b/atlas/templates/atlas/collection_viva.html @@ -33,7 +33,7 @@ var win2 = false; }); $('.open-case').click(function() { var url = $(this).data('target'); - if (win2 == false || win2.closed) { + if (win2 == false) { win2 = openSecondaryWindow(url); console.log('opened', win2) } else {