File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/portfolio/portfolioPhotoSwipe.min.js
Back
!function(o){woodmartThemeModule.$document.on("wdPortfolioPjaxComplete",function(){woodmartThemeModule.portfolioPhotoSwipe()}),o.each(["frontend/element_ready/wd_portfolio.default"],function(o,t){woodmartThemeModule.wdElementorAddAction(t,function(){woodmartThemeModule.portfolioPhotoSwipe()})}),woodmartThemeModule.portfolioPhotoSwipe=function(){woodmartThemeModule.$document.on("click",".portfolio-enlarge",function(e){e.preventDefault();var r=o(this),n=r.parents(".wd-carousel-item");0===n.length&&(n=r.parents(".portfolio-entry"));var i=n.index(),d=t();woodmartThemeModule.callPhotoSwipe(i,d)});var t=function(){var t=[];return o(".portfolio-entry").find("figure a img").each(function(){var e=o(this);t.push({src:e.attr("src"),w:e.attr("width")?e.attr("width"):"300",h:e.attr("height")?e.attr("height"):"300"})}),t}},o(document).ready(function(){woodmartThemeModule.portfolioPhotoSwipe()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings