You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
395 B
JavaScript
2 lines
395 B
JavaScript
/*! © SpryMedia Ltd - datatables.net/license */
|
|
import $ from"jquery";import DataTable from"datatables.net";$(document).on("preInit.dt",function(t,o){var a;"dt"===t.namespace&&(o.oInit.scrollToTop||DataTable.defaults.scrollToTop)&&(a=new DataTable.Api(o)).on("page",function(){setTimeout(function(){$(document).scrollTop($(a.table().container()).offset().top)},10)})});export default DataTable; |