File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/wc/stickyDetails.min.js
Back
!function(t){woodmartThemeModule.$document.on("wdHeaderBuilderInited",function(){woodmartThemeModule.stickyDetails()}),woodmartThemeModule.stickyDetails=function(){!t(".single-product-page").hasClass("wd-sticky-on")||woodmartThemeModule.$window.width()<=1024||t(".entry-summary").each(function(){var e=t(this),o=parseInt(woodmart_settings.sticky_product_details_offset),i=e.find(".summary-inner"),d=e.parent().find(".woocommerce-product-gallery");i.trigger("sticky_kit:detach"),d.trigger("sticky_kit:detach"),d.imagesLoaded(function(){var t=i.outerHeight()-d.outerHeight(),e=parseInt(woodmart_settings.sticky_product_details_different);t<-e?i.stick_in_parent({offset_top:o}):t>e&&d.stick_in_parent({offset_top:o}),woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){woodmartThemeModule.$window.width()<=1024?(i.trigger("sticky_kit:detach"),d.trigger("sticky_kit:detach")):i.outerHeight()<d.outerHeight()?i.stick_in_parent({offset_top:o}):d.stick_in_parent({offset_top:o})},300))})})},t(document).ready(function(){woodmartThemeModule.stickyDetails()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.13 |
proxy
|
phpinfo
|
Settings