1
0
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:
Andrew Dolgov
2018-12-10 21:19:33 +03:00
parent c97c755195
commit ad5a43bf66
3 changed files with 43 additions and 62 deletions

View File

@@ -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 () {