mirror of
https://github.com/pi-hole/web.git
synced 2026-05-01 22:24:08 +01:00
Add ability for user to include comment when adding a blocklist
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -225,7 +225,7 @@ $("button[id^='adlist-btn-']").on("click", function (e) {
|
||||
$("input[name=\"adlist-del-"+id+"\"]").prop("checked", !status);
|
||||
// Untick and disable check box (or reset)
|
||||
$("input[name=\"adlist-enable-"+id+"\"]").prop("checked", status).prop("disabled", !status);
|
||||
// Strink through text (or reset)
|
||||
// Strike through text (or reset)
|
||||
$("a[id=\"adlist-text-"+id+"\"]").css("text-decoration", textType);
|
||||
// Highlight that the button has to be clicked in order to make the change live
|
||||
$("button[id=\"blockinglistsaveupdate\"]").addClass("btn-danger").css("font-weight", "bold");
|
||||
|
||||
Reference in New Issue
Block a user