mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 10:50:23 +01:00
Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas)
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -33,7 +33,7 @@ $(".confirm-poweroff").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
$(".confirm-reboot").confirm({
|
||||
text: "Are you sure you want to send a reboot command to your Pi-hole?",
|
||||
@@ -49,7 +49,7 @@ $(".confirm-reboot").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
|
||||
$(".confirm-restartdns").confirm({
|
||||
@@ -66,7 +66,7 @@ $(".confirm-restartdns").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
|
||||
$(".confirm-flushlogs").confirm({
|
||||
@@ -83,7 +83,7 @@ $(".confirm-flushlogs").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
|
||||
$(".confirm-flusharp").confirm({
|
||||
@@ -100,7 +100,7 @@ $(".confirm-flusharp").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-warning",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
|
||||
$(".confirm-disablelogging-noflush").confirm({
|
||||
@@ -117,7 +117,7 @@ $(".confirm-disablelogging-noflush").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-warning",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
|
||||
$(".api-token").confirm({
|
||||
@@ -135,7 +135,7 @@ $(".api-token").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog"
|
||||
dialogClass: "modal-dialog",
|
||||
});
|
||||
|
||||
$("#DHCPchk").click(function () {
|
||||
@@ -184,7 +184,7 @@ $(function () {
|
||||
},
|
||||
stateLoadCallback: function () {
|
||||
return utils.stateLoadCallback("activeDhcpLeaseTable");
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ $(function () {
|
||||
},
|
||||
stateLoadCallback: function () {
|
||||
return utils.stateLoadCallback("staticDhcpLeaseTable");
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -300,7 +300,7 @@ $('button[id="removedynamic"]').on("click", function () {
|
||||
dataType: "json",
|
||||
data: {
|
||||
delete_lease: ipaddr,
|
||||
token: token
|
||||
token: token,
|
||||
},
|
||||
success: function (response) {
|
||||
utils.enableAll();
|
||||
@@ -326,6 +326,6 @@ $('button[id="removedynamic"]').on("click", function () {
|
||||
utils.enableAll();
|
||||
utils.showAlert("error", "Error while deleting DHCP lease for " + ipname, jqXHR.responseText);
|
||||
console.log(exception); // eslint-disable-line no-console
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user