mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +00:00
filters: simplify list row selection for checkboxes (properly)
This commit is contained in:
@@ -1137,7 +1137,7 @@ const Filters = {
|
|||||||
|
|
||||||
new dijit.form.CheckBox({
|
new dijit.form.CheckBox({
|
||||||
onChange: function () {
|
onChange: function () {
|
||||||
$$(".rchk")[0].up("li").toggleClassName("Selected");
|
this.domNode.up("li").toggleClassName("Selected");
|
||||||
},
|
},
|
||||||
}, cb);
|
}, cb);
|
||||||
|
|
||||||
@@ -1186,7 +1186,7 @@ const Filters = {
|
|||||||
|
|
||||||
new dijit.form.CheckBox({
|
new dijit.form.CheckBox({
|
||||||
onChange: function () {
|
onChange: function () {
|
||||||
$$(".rchk")[0].up("li").toggleClassName("Selected");
|
this.domNode.up("li").toggleClassName("Selected");
|
||||||
},
|
},
|
||||||
}, cb);
|
}, cb);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user