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

@@ -131,6 +131,10 @@
},
"fnInitComplete": function(oSettings, json)
{
},
"fnDrawCallback": function (o) {
// Jump to top of page
$('html,body').scrollTop(0);
}
});
$('#artist_table').on("draw.dt", function () {