Reboot with fancybox open #414
-
Hello, my js code is split into 2 files (libraries and my code). If you reload the page with the "fancybox" open, it will load and the "fancybox" will be opened with the default settings, not mine. I'd like to avoid this behavior (similar queries #159 and #6 ). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, This is one of the reasons why Fancybox5 does not auto-bind, see https://fancyapps.com/resources/upgrading/#fancybox |
Beta Was this translation helpful? Give feedback.
Hi,
This is one of the reasons why Fancybox5 does not auto-bind, see https://fancyapps.com/resources/upgrading/#fancybox
For Fancybox4, you could, for example, put
<script>Fancybox.destroy();</script>
right after including JS file.