Reply To: Ability to dismiss template notices
OK so perhaps it hasn’t been. I decided on using this solution if anyone else ever needs it:
<script>
$(document).mouseup(function (e)
{
var notice = $(".bp-template-notice");
if (!notice.is(e.target)
&& notice.has(e.target).length === 0)
{
notice.hide();
}
});
</script>
This will dismiss the template notice if the user clicks anywhere else on the page. i.e outside of the template notice’s containing div.