Merge pull request #348 from abhishek-webkul/gli-672

Resolve auto page scroll issue on order history page
This commit is contained in:
Rohit Jain
2022-06-27 17:00:09 +05:30
committed by GitHub

View File

@@ -93,7 +93,9 @@ function showOrder(mode, var_content, file)
return sendOrderMessage();
});
$(this).fadeIn('slow', function() {
$.scrollTo(this, 1200);
$('html, body').animate({
scrollTop: $('#block-order-detail').offset().top
}, 1200);
});
});
});