diff --git a/themes/hotel-reservation-theme/js/history.js b/themes/hotel-reservation-theme/js/history.js index 1cc19019c..12336d90f 100644 --- a/themes/hotel-reservation-theme/js/history.js +++ b/themes/hotel-reservation-theme/js/history.js @@ -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); }); }); });