This commit is contained in:
Adam Warner
2017-04-06 18:45:26 +01:00
parent db54cdafe7
commit 892bc5f1c5
+2 -2
View File
@@ -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);
});