mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-12 03:58:13 -07:00
Fix upload button doing nothing. Caused by script tag in head overriding window.onload, which was already declared in uploads.js
This commit is contained in:
@@ -6,4 +6,12 @@ window.onload = () => {
|
||||
document.getElementById('file-input').addEventListener('change', () => {
|
||||
document.getElementById('upload-form').submit();
|
||||
});
|
||||
|
||||
$(".table").DataTable({
|
||||
"paging": false,
|
||||
"ordering": true,
|
||||
"order": [[ 3, "desc" ]],
|
||||
"info": false,
|
||||
"dom": "t",
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user