File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/wc/woocommerceComments.min.js
Back
!function(e){woodmartThemeModule.woocommerceComments=function(){var o=window.location.hash,t=window.location.href;!document.querySelector(".wd-hidden-tab-title")&&(o.toLowerCase().indexOf("comment-")>=0||"#reviews"===o||"#tab-reviews"===o||t.indexOf("comment-page-")>0||t.indexOf("cpage=")>0||"#tab-wd_additional_tab"===o||"#tab-wd_custom_tab"===o)&&(setTimeout(function(){window.scrollTo(0,0)},1),e(".single-product-page").hasClass("reviews-location-separate")&&("#reviews"===o||"#tab-reviews"===o||o.toLowerCase().indexOf("comment-")>=0||t.indexOf("comment-page-")>0||t.indexOf("cpage=")>0)&&woodmartThemeModule.$body.find(".wc-tabs, ul.tabs").first().find("li:first a").click(),setTimeout(function(){if(e(o).length>0){var t=e(".woocommerce-tabs a[href="+o+"]");t.length&&t.trigger("click"),setTimeout(function(){e("html, body").stop().animate({scrollTop:e(o).offset().top-woodmart_settings.ajax_scroll_offset},400)},400)}},10)),e(".wd-builder-on .woocommerce-review-link").on("click",function(){var o=e(".wd-single-tabs .wd-accordion:not(.tabs-layout-accordion) .wd-accordion-title.tab-title-reviews");o.length&&(o.trigger("click"),setTimeout(function(){e("html, body").stop().animate({scrollTop:o.offset().top-woodmart_settings.ajax_scroll_offset},400)},400))})},e(document).ready(function(){woodmartThemeModule.woocommerceComments()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.13 |
proxy
|
phpinfo
|
Settings