filters: simplify list row selection for checkboxes (properly)

This commit is contained in:
Andrew Dolgov 2018-12-02 10:03:31 +03:00
parent fb64726854
commit 8ea3a75df0
1 changed files with 2 additions and 2 deletions

View File

@ -1137,7 +1137,7 @@ const Filters = {
new dijit.form.CheckBox({
onChange: function () {
$$(".rchk")[0].up("li").toggleClassName("Selected");
this.domNode.up("li").toggleClassName("Selected");
},
}, cb);
@ -1186,7 +1186,7 @@ const Filters = {
new dijit.form.CheckBox({
onChange: function () {
$$(".rchk")[0].up("li").toggleClassName("Selected");
this.domNode.up("li").toggleClassName("Selected");
},
}, cb);