XF 2.2 Issue with overlay

Betclever

Well-known member
Hi all,

I use a plugin for having a kind of notification when someone visit my website but when we click on the cross to close the notification (ADS), this one comes back...

Code:

Code:
<xf:if is="$xf.visitor.canViewBcNotice()">
    <xf:js src="betclever/notice/notice.js" min="1" />
    <a href="{{ link('bc-notice') }}" data-xf-click="overlay" data-load-auto-click="true" style="display: none"></a>
</xf:if>

JS script:

1624202996675.png

What's wrong?

Thanks for your help
 
Top