feat: add toggle checkbox functionality
This commit is contained in:
9
toggleCheckboxes.js
Normal file
9
toggleCheckboxes.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function toggleCheckboxes() {
|
||||
const conversations = document.querySelectorAll(".conversation-checkbox");
|
||||
|
||||
conversations.forEach((checkbox) => {
|
||||
checkbox.checked = !checkbox.checked;
|
||||
});
|
||||
}
|
||||
|
||||
toggleCheckboxes();
|
||||
Reference in New Issue
Block a user