Loading js/photoswipe.jquery.js +1 −1 Changes for js/photoswipe.jquery.js: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ } // loop through all gallery elements and bind events $galleries.once('photoswipe').each(function (index) { $(once('photoswipe', $galleries)).each(function (index) { var $gallery = $(this); $gallery.attr('data-pswp-uid', index + 1); // Definitely prevent doble event binding on AJAX Loading photoswipe.libraries.yml +1 −1 Changes for photoswipe.libraries.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -30,6 +30,6 @@ photoswipe.init: js/photoswipe.jquery.js: {} dependencies: - core/jquery - core/jquery.once - core/drupal - core/once - core/drupalSettings Loading
js/photoswipe.jquery.js +1 −1 Changes for js/photoswipe.jquery.js: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ } // loop through all gallery elements and bind events $galleries.once('photoswipe').each(function (index) { $(once('photoswipe', $galleries)).each(function (index) { var $gallery = $(this); $gallery.attr('data-pswp-uid', index + 1); // Definitely prevent doble event binding on AJAX Loading
photoswipe.libraries.yml +1 −1 Changes for photoswipe.libraries.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -30,6 +30,6 @@ photoswipe.init: js/photoswipe.jquery.js: {} dependencies: - core/jquery - core/jquery.once - core/drupal - core/once - core/drupalSettings