mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-05 19:29:32 +01:00
Jump back to top when changing pagination page. Fixes #1948
This commit is contained in:
@@ -81,8 +81,11 @@
|
||||
"sInfoFiltered":"(filtered from _MAX_ total items)"},
|
||||
"iDisplayLength": 25,
|
||||
"sPaginationType": "full_numbers",
|
||||
"aaSorting": []
|
||||
|
||||
"aaSorting": [],
|
||||
"fnDrawCallback": function (o) {
|
||||
// Jump to top of page
|
||||
$('html,body').scrollTop(0);
|
||||
}
|
||||
});
|
||||
resetFilters("history");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user