File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/global/photoswipeImages.min.js
Back
!function(e){woodmartThemeModule.photoswipeImages=function(){e(".photoswipe-images, .wp-block-wd-gallery:has(.photoswipe-images)").each(function(){var a=e(this);a.on("click","a",function(o){o.preventDefault();var r=e(o.currentTarget).parents(".wd-gallery-item, .wp-block-wd-gallery-item").index(),i=t(a,[]);woodmartThemeModule.callPhotoSwipe(r,i)})});var t=function(t,o){var r,i,n,h;return t.find("a").each(function(){var t=e(this);r=t.attr("href"),i=t.data("width"),n=t.data("height"),h=t.attr("title"),a(o,r)||o.push({src:r,w:i,h:n,title:h})}),o},a=function(e,t){var a;for(a=0;a<e.length;a++)if(e[a].src===t)return!0;return!1}},e(document).ready(function(){woodmartThemeModule.photoswipeImages()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.13 |
proxy
|
phpinfo
|
Settings