summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
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 () {