diff options
| author | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 04:03:24 +0000 |
|---|---|---|
| committer | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 04:03:24 +0000 |
| commit | 98f0035a9598ba2d50e00b9d7302ecb501a84900 (patch) | |
| tree | 706dec9ebeeea61585cd9e171e3aafc7ea71425f /js | |
| parent | 362e2dc28c9d28bc7644df6694b4de78a116da37 (diff) | |
minor: fix a labels issue introduced in 362e2dc28c9d28bc7644df6694b4de78a116da37
Diffstat (limited to 'js')
| -rwxr-xr-x | js/Headlines.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Headlines.js b/js/Headlines.js index 9ce575a84..7ce1e63ba 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -1501,7 +1501,7 @@ const Headlines = { label: name, labelId: bare_id, onClick: function () { - const id = parseInt(this.ownerMenu.currentTarget.getAttribute('data-article-id')); + const id = parseInt(this.getParent().ownerMenu.currentTarget.getAttribute('data-article-id')); let ids = Headlines.getSelected(); ids = ids.includes(id) ? ids : [id]; @@ -1514,7 +1514,7 @@ const Headlines = { label: name, labelId: bare_id, onClick: function () { - const id = parseInt(this.ownerMenu.currentTarget.getAttribute('data-article-id')); + const id = parseInt(this.getParent().ownerMenu.currentTarget.getAttribute('data-article-id')); let ids = Headlines.getSelected(); ids = ids.includes(id) ? ids : [id]; |