Sandeep_gdl

Untitled

Jun 8th, 2022 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery( document ).ready(function() {
  2. jQuery('a.woocommerce-review-link').click(function(e){    
  3.     var item_id = jQuery('.gdlr-core-tab-item-title[data-tab-id="3"]');
  4.     if( item_id.length > 0 ){
  5.         item_id.click();
  6.         jQuery('html, body').animate({
  7.             scrollTop: item_id.offset().top - 100
  8.         }, 500);
  9.         e.preventDefault();
  10.     }    
  11. });
  12. });
Advertisement
Add Comment
Please, Sign In to add comment