mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 16:03:54 +08:00
DEV: Remove jquery from group list (#16981)
This commit is contained in:
parent
951b3016a4
commit
91f00ecf5a
@ -216,12 +216,20 @@ export default Controller.extend({
|
|||||||
|
|
||||||
@action
|
@action
|
||||||
bulkSelectAll() {
|
bulkSelectAll() {
|
||||||
$("input.bulk-select:not(:checked)").click();
|
document
|
||||||
|
.querySelectorAll("input.bulk-select:not(:checked)")
|
||||||
|
.forEach((checkbox) => {
|
||||||
|
checkbox.checked = true;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
@action
|
@action
|
||||||
bulkClearAll() {
|
bulkClearAll() {
|
||||||
$("input.bulk-select:checked").click();
|
document
|
||||||
|
.querySelectorAll("input.bulk-select:checked")
|
||||||
|
.forEach((checkbox) => {
|
||||||
|
checkbox.checked = false;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
Loading…
x
Reference in New Issue
Block a user