mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:35:55 +00:00
sync article selected status via mutation observer
remove all rchk-related hacks
This commit is contained in:
14
js/tt-rss.js
14
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 () {
|
||||
|
||||
Reference in New Issue
Block a user