BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
wp-content
/
themes
/
porto
/
js
/
shop
📤 Upload
📝 New File
📁 New Folder
Close
Editing: single-product.min.js
!function(e){var i,o,t;e(window).on("load",(function(){var n=function(n){var r=e(n);if(r.length){var a=!1;i.length&&i.is(":hidden")&&(a=!0,o.length&&o.is(":visible")?o.click():t.length&&t.is(":visible")&&t.click()),"#review_form"==n&&r.is(":hidden")&&(e(".cr-ajax-reviews-add-review").length?e(".cr-ajax-reviews-add-review").trigger("click"):r=e("#reviews")),setTimeout((function(){r.is(":visible")&&e("html, body").stop().animate({scrollTop:r.offset().top-theme.StickyHeader.sticky_height-theme.adminBarHeight()-14},600,"easeOutQuad")}),a?400:0)}};i=e("#tab-reviews"),o=i.prev(".resp-accordion"),t=e("#tab-title-reviews"),e(document.body).on("click",".woocommerce-review-link, .woocommerce-write-review-link",(function(i){if(e(this).closest(".quickview-wrap").length)return!0;n(this.hash),i.preventDefault()})),"#review_form"!=window.location.hash&&"#reviews"!=window.location.hash&&-1==window.location.hash.indexOf("#comment-")||n(window.location.hash)})),e(".skeleton-loading").on("skeleton-loaded",(function(){i=e("#tab-reviews"),o=i.prev(".resp-accordion"),t=e("#tab-title-reviews")}))}(window.jQuery);
Save
Cancel