mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 18:37:33 -04:00
prevent click event bubbling up
This commit is contained in:
@@ -138,6 +138,7 @@
|
|||||||
};
|
};
|
||||||
CollapsibleCheckboxes.prototype.toggleAll = function(e) {
|
CollapsibleCheckboxes.prototype.toggleAll = function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
e.stopPropagation();
|
||||||
const allChecked = this.$checkboxes.filter(':checked').length === this.$checkboxes.length;
|
const allChecked = this.$checkboxes.filter(':checked').length === this.$checkboxes.length;
|
||||||
|
|
||||||
if (allChecked) {
|
if (allChecked) {
|
||||||
|
|||||||
Reference in New Issue
Block a user