diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 0e5f3146..b614bdee 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -92,9 +92,9 @@ $("button[id^='adlist-btn-']").on("click", function (e) { e.preventDefault(); var status = $(this).siblings("input[name^='adlist-del-']").is(":checked"); - var text_type = status ? "none" : "line-through"; + var textType = status ? "none" : "line-through"; $(this).siblings("input[name^='adlist-del-']").prop("checked", !status); $(this).siblings("input[name^='adlist-enable-']").prop("disabled", !status); - $(this).siblings("a").css("text-decoration", text_type); + $(this).siblings("a").css("text-decoration", textType); });