mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix an error when there are no servers
This commit is contained in:
parent
8611c7e5e4
commit
d9c03caa9b
@ -835,7 +835,8 @@
|
|||||||
"ordering": false, // false to disable sorting (or any other option)
|
"ordering": false, // false to disable sorting (or any other option)
|
||||||
"paging": false
|
"paging": false
|
||||||
});
|
});
|
||||||
document.getElementById('first').setAttribute('draggable', false);
|
const first = document.querySelector('#first')
|
||||||
|
first !== null && first.setAttribute('draggable', false);
|
||||||
$('.dataTables_length').addClass('bs-select');
|
$('.dataTables_length').addClass('bs-select');
|
||||||
});
|
});
|
||||||
/* Search Bar End */
|
/* Search Bar End */
|
||||||
|
Loading…
Reference in New Issue
Block a user