mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00

* WebHost: save datatables state * WebHost: Fix DataTables local storage keys. Co-authored-by: recklesscoder <57289227+recklesscoder@users.noreply.github.com>
11 lines
243 B
JavaScript
11 lines
243 B
JavaScript
window.addEventListener('load', () => {
|
|
let tables = $(".autodatatable").DataTable({
|
|
"paging": false,
|
|
"ordering": true,
|
|
"info": false,
|
|
"dom": "t",
|
|
"stateSave": true,
|
|
});
|
|
console.log(tables);
|
|
});
|