summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-10 21:19:33 +0300
committerAndrew Dolgov <[email protected]>2018-12-10 21:19:33 +0300
commitad5a43bf6620b1161bd6db0e6c0768eea2b8e50b (patch)
treee09da436b6663f9e4e5eb92ba066124602eff90a /js/tt-rss.js
parentc97c755195c1d58a550078500fc0427905e5d71c (diff)
sync article selected status via mutation observer
remove all rchk-related hacks
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 77ef71abe..143546ad0 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -396,18 +396,8 @@ require(["dojo/_base/kernel",
if (id) {
const row = $("RROW-" + id);
- if (row) {
- const cb = dijit.getEnclosingWidget(
- row.select(".rchk")[0]);
-
- if (cb) {
- if (!row.hasClassName("active"))
- cb.attr("checked", !cb.attr("checked"));
-
- Headlines.onRowChecked(cb);
- return false;
- }
- }
+ if (row)
+ row.toggleClassName("Selected");
}
};
this.hotkey_actions["create_label"] = function () {