Authored by htoooth

add js

... ... @@ -1365,10 +1365,15 @@ function loadConsult() {
$('.consults-pager').on('click', 'a', function() {
var $this = $(this);
var href = $this.data('page');
var data = href.split('?')[1].split('&')[1].split('=')[1];
if (!href) {
return;
}
var data = href.split('?')[1].split('&')[1].split('=')[1]; // eslint-disable-line
loadConsults(data).always(function() {
_scrollTo($('#goodsAskTitle'));
_scrollTo($('#goodsAskTitle')); // eslint-disable-line
});
});
... ...