mirror of
https://github.com/pi-hole/web.git
synced 2026-05-08 09:39:05 +01:00
:codacy:
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user