mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'bugfix/getelementbyid-first-dashboard' into 'dev'
Fix an error when there are no servers See merge request crafty-controller/crafty-4!346
This commit is contained in:
commit
c22d07d832
@ -835,7 +835,8 @@
|
||||
"ordering": false, // false to disable sorting (or any other option)
|
||||
"paging": false
|
||||
});
|
||||
document.getElementById('first').setAttribute('draggable', false);
|
||||
const first = document.querySelector('#first')
|
||||
first !== null && first.setAttribute('draggable', false);
|
||||
$('.dataTables_length').addClass('bs-select');
|
||||
});
|
||||
/* Search Bar End */
|
||||
@ -908,4 +909,4 @@
|
||||
|
||||
</script>
|
||||
|
||||
{% end %}
|
||||
{% end %}
|
||||
|
Loading…
Reference in New Issue
Block a user