mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Codacy fixes
This commit is contained in:
@@ -69,7 +69,7 @@ $("#DHCPchk").click(function() {
|
||||
$("#dhcpnotice").prop("hidden", !this.checked).addClass("lookatme");
|
||||
});
|
||||
|
||||
var leasetable;
|
||||
var leasetable, staticleasetable;
|
||||
$(document).ready(function() {
|
||||
if(document.getElementById("DHCPLeasesTable"))
|
||||
{
|
||||
@@ -88,7 +88,6 @@ $(document).ready(function() {
|
||||
{
|
||||
staticleasetable = $("#DHCPStaticLeasesTable").DataTable({
|
||||
dom: "<'row'<'col-sm-12'tr>><'row'<'col-sm-12'i>>",
|
||||
order: [[1, 'desc']],
|
||||
"columnDefs": [ { "bSortable": false, targets: -1} ],
|
||||
"paging": false,
|
||||
"scrollCollapse": true,
|
||||
|
||||
Reference in New Issue
Block a user