support all languages && improved code readability and maintainability
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
function toggleCheckboxes() {
|
||||
const conversations = document.querySelectorAll(".conversation-checkbox");
|
||||
const conversations = document.querySelectorAll(`.${CHECKBOX_CLASS}`);
|
||||
|
||||
conversations.forEach((checkbox) => {
|
||||
checkbox.checked = !checkbox.checked;
|
||||
});
|
||||
}
|
||||
|
||||
toggleCheckboxes();
|
||||
toggleCheckboxes();
|
||||
Reference in New Issue
Block a user