Jump back to top when changing pagination page. Fixes #1948

This commit is contained in:
Bas Stottelaar
2014-10-20 22:13:59 +02:00
parent bea7022b4c
commit 8a8821530a
10 changed files with 162 additions and 147 deletions

View File

@@ -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");
}