dobarkod / cookie-banner

JavaScript based cookie-info banner for complying with EU cookie law
MIT License
425 stars 85 forks source link

data-on-closed="" seems to loop? #76

Open webaddicto opened 6 years ago

webaddicto commented 6 years ago

I tried cookiebanner with this option:

data-on-closed="window.location.reload(false);"

So when the banner is closed it can reload the page.

But it seems it enters in a loop and always reload the page?

zytzagoo commented 6 years ago

Can you provide a jsfiddle or similar example somewhere? When do you not expect it to reload the page?