diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/promoPopup.js b/htdocs/wp-content/themes/lawcarta/assets/js/promoPopup.js index 955664a..26c32aa 100644 --- a/htdocs/wp-content/themes/lawcarta/assets/js/promoPopup.js +++ b/htdocs/wp-content/themes/lawcarta/assets/js/promoPopup.js @@ -24,7 +24,9 @@ if (document.querySelector('.show-promo-popup')) { setTimeout(function(){ + if (document.querySelector('.sign-block a[href*="user/registration"]')){ addPopup(); + } }, 6000); }