diff options
author | Andrew Dolgov <[email protected]> | 2018-12-02 10:03:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-02 10:03:31 +0300 |
commit | 8ea3a75df02fdf8ccfea6ca32965a1d407f089b6 (patch) | |
tree | d22bc874159cb8e4c28016108d09d963fcd7bc1f | |
parent | fb64726854479dc52993dd4a18ee2a54294d1ac4 (diff) |
filters: simplify list row selection for checkboxes (properly)
-rwxr-xr-x | js/functions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/functions.js b/js/functions.js index b7d37044c..59912905d 100755 --- a/js/functions.js +++ b/js/functions.js @@ -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); |