Improve behavior
This commit is contained in:
parent
45ad9e44a3
commit
b077f3f206
2 changed files with 12 additions and 13 deletions
|
|
@ -214,16 +214,15 @@
|
|||
"#filter_channelsettings",
|
||||
"#filter_joinquit"
|
||||
];
|
||||
$("#filter_all").change(function () {
|
||||
var checked = $("#filter_all").prop("checked");
|
||||
logfilters.forEach(function (f) {
|
||||
$(f).attr("disabled", checked);
|
||||
});
|
||||
});
|
||||
|
||||
logfilters.unshift("#filter_all");
|
||||
logfilters.forEach(function (f) {
|
||||
$(f).change(filterChannelLog);
|
||||
$(f).change(function () {
|
||||
if (f !== "#filter_all") {
|
||||
$("#filter_all").prop("checked", false);
|
||||
}
|
||||
filterChannelLog();
|
||||
});
|
||||
});
|
||||
logfilters.shift();
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue