JS Code SnippetOn the page you want this to appear, add an HTML widget (FREE) and paste the code in there. Be sure to have < script> before your code and after the code if it isn't already inserted above.
document.addEventListener('click', function(event) { if (event.target.closest('.ts-popup-root .ts-field-popup li a')) { const popup = document.querySelector('.ts-popup-root'); if (popup) { popup.style.display = 'none'; } } });