Skip to content

Commit

Permalink
DS-863 fix: Remove close behavior to let Bootstrap do its thing
Browse files Browse the repository at this point in the history
  • Loading branch information
froboy committed Jul 17, 2023
1 parent 733c827 commit ddfbc2b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions openy_calc/js/openy_calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,4 @@
});
}
};

/**
* To close the alert Modals dialog.
*/
Drupal.behaviors.openyAlertModalsClose = {
attach: function (context, settings) {
$('.alert-modal .close').on('click', function (e) {
e.preventDefault();
$(this).closest('.alert-modal').remove();
});
}
};
})(jQuery);

0 comments on commit ddfbc2b

Please sign in to comment.