File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/wc/productMoreDescription.min.js
Back
!function(e){woodmartThemeModule.$document.on("wdShopPageInit wdLoadMoreLoadProducts wdArrowsLoadProducts wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdUpdateWishlist wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.productMoreDescription()}),e.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default"],function(e,d){woodmartThemeModule.wdElementorAddAction(d,function(){woodmartThemeModule.productMoreDescription()})}),woodmartThemeModule.productMoreDescription=function(){e(".wd-hover-with-fade, .wd-image-hotspot.hotspot-type-product, .wd-spot:has(.wd-spot-product)").on("mouseenter touchstart",function(){var d=e(this).find(".wd-more-desc"),o=d.find(".wd-more-desc-inner"),t=d.find(".wd-more-desc-btn");if(!d.hasClass("wd-more-desc-calculated")){var r=d.outerHeight(),n=o.outerHeight()-r;n>30?t.addClass("wd-shown"):n>0&&d.css("max-height",r+n),d.addClass("wd-more-desc-calculated")}}),woodmartThemeModule.$body.on("click",".wd-more-desc-btn",function(d){d.preventDefault();var o=e(this);o.parent().addClass("wd-more-desc-full"),woodmartThemeModule.$document.trigger("wdProductHoverContentRecalc",[o.parents(".wd-hover-with-fade")])})},e(document).ready(function(){woodmartThemeModule.productMoreDescription()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.13 |
proxy
|
phpinfo
|
Settings