diff --git a/webapp/home/templates/home/header-export.html b/webapp/home/templates/home/header-export.html index a3510546..cc49fd95 100644 --- a/webapp/home/templates/home/header-export.html +++ b/webapp/home/templates/home/header-export.html @@ -50,8 +50,6 @@ } } - const subdomainLanding = () => window.location.pathname.includes('/landing/'); - $(document).ready( () => { // Enable bootstrap tooltips var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) diff --git a/webapp/home/templates/home/subdomains/exported.html b/webapp/home/templates/home/subdomains/exported.html index 92d55809..1fa5bc2e 100644 --- a/webapp/home/templates/home/subdomains/exported.html +++ b/webapp/home/templates/home/subdomains/exported.html @@ -81,13 +81,9 @@ {% block onload %} - // Ensure that links open in new tab if external + // Ensure that links open in new tab $('a').each( (i, item) => { - if ( - item.href - && item.href.slice(0, 1) !== "/" - && !item.href.includes("{{ galaxy_base_url }}") - ) { + if (item.href && item.href.slice(0, 1) !== "/") { item.target = '_blank'; } });