diff options
Diffstat (limited to 'js/bootstrap-alert.js')
-rw-r--r-- | js/bootstrap-alert.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/bootstrap-alert.js b/js/bootstrap-alert.js index 8500bd273c..b0bdc4b7d9 100644 --- a/js/bootstrap-alert.js +++ b/js/bootstrap-alert.js @@ -83,8 +83,6 @@ /* ALERT DATA-API * ============== */ - $(function () { - $('body').on('click.alert.data-api', dismiss, Alert.prototype.close) - }) + $(document).on('click.alert.data-api', dismiss, Alert.prototype.close) }(window.jQuery);
\ No newline at end of file |