From d0b9588fff250e2b5062e32acfabd2e412c57fb3 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Mon, 16 May 2022 01:50:05 -0300 Subject: [PATCH] Fix prettier Signed-off-by: RD WebDesign --- scripts/pi-hole/js/customcname.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/scripts/pi-hole/js/customcname.js b/scripts/pi-hole/js/customcname.js index de0e1dab..0248ab5c 100644 --- a/scripts/pi-hole/js/customcname.js +++ b/scripts/pi-hole/js/customcname.js @@ -81,7 +81,12 @@ function addCustomCNAME() { success: function (response) { utils.enableAll(); if (response.success) { - utils.showAlert("success", "far fa-check-circle", "Custom CNAME added", domain + ": " + target); + utils.showAlert( + "success", + "far fa-check-circle", + "Custom CNAME added", + domain + ": " + target + ); table.ajax.reload(); } else { utils.showAlert("error", "fas fa-times", "Failure! Something went wrong", response.message); @@ -110,7 +115,12 @@ function deleteCustomCNAME() { success: function (response) { utils.enableAll(); if (response.success) { - utils.showAlert("success", "far fa-check-circle", "Custom CNAME deleted", domain + ": " + target); + utils.showAlert( + "success", + "far fa-check-circle", + "Custom CNAME deleted", + domain + ": " + target + ); table.ajax.reload(); } else { utils.showAlert("error", "fas fa-times", "Failure! Something went wrong", response.message);