YadaWeb/src/main/resources/net/yadaframework/views/yada/js/yada.cookieBanner.js
// Hide the banner when clicking anywhere on the page
Hide the banner when clicking anywhere on the page
Hide the banner when clicking anywhere on the page
function bodyClickHandler(e) {
		if (e.target.className!="privacyLink") {
			document.body.removeEventListener("click", bodyClickHandler);
			bannerDismiss();
		}
	}
function bodyClickHandler ( e ) { if ( e . target . className != "privacyLink" ) { document . body . removeEventListener ( "click" , bodyClickHandler ) ; bannerDismiss ( ) ; } }
Hide the banner when clicking anywhere on the page
Hide the banner when clicking anywhere on the page