summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 10:03:31 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 10:03:31 +0300
commit8ea3a75df02fdf8ccfea6ca32965a1d407f089b6 (patch)
treed22bc874159cb8e4c28016108d09d963fcd7bc1f /js
parentfb64726854479dc52993dd4a18ee2a54294d1ac4 (diff)
filters: simplify list row selection for checkboxes (properly)
Diffstat (limited to 'js')
-rwxr-xr-xjs/functions.js4
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);