mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
DEV: Remove JQuery from components/topic-list.js
(#18048)
This commit is contained in:
parent
e21d2ac217
commit
1b180a3bdb
@ -176,12 +176,16 @@ export default Component.extend(LoadMore, {
|
||||
|
||||
onClick("button.bulk-select-all", function () {
|
||||
this.updateAutoAddTopicsToBulkSelect(true);
|
||||
$("input.bulk-select:not(:checked)").click();
|
||||
document
|
||||
.querySelectorAll("input.bulk-select:not(:checked)")
|
||||
.forEach((el) => el.click());
|
||||
});
|
||||
|
||||
onClick("button.bulk-clear-all", function () {
|
||||
this.updateAutoAddTopicsToBulkSelect(false);
|
||||
$("input.bulk-select:checked").click();
|
||||
document
|
||||
.querySelectorAll("input.bulk-select:checked")
|
||||
.forEach((el) => el.click());
|
||||
});
|
||||
|
||||
onClick("th.sortable", function (element) {
|
||||
|
Loading…
Reference in New Issue
Block a user