L
L
lexstile2020-02-15 18:49:44
JavaScript
lexstile, 2020-02-15 18:49:44

What is the bug in fancybox 1.3.4?

I support a project with legacy code.
Upgrading is currently not possible.
When you click on the link, you need to display a pop-up window, on the first click everything works, on the second and subsequent, an error pops up:
5e481132bd977766754407.png
Initialization:

jQuery(function($){
  $(document).ready(function(){
    $('.fan').fancybox();
  });
});

fancybox version: 1.3.4
jQuery version: 1.12.4
jQuery Migrate version: 1.4.1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question