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