diff options
Diffstat (limited to 'js/bootstrap-alert.js')
-rw-r--r-- | js/bootstrap-alert.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/bootstrap-alert.js b/js/bootstrap-alert.js index 51273ab9d2..4653de2544 100644 --- a/js/bootstrap-alert.js +++ b/js/bootstrap-alert.js @@ -1,5 +1,5 @@ /* ========================================================== - * bootstrap-alert.js v2.1.1 + * bootstrap-alert.js v2.2.0 * http://twitter.github.com/bootstrap/javascript.html#alerts * ========================================================== * Copyright 2012 Twitter, Inc. @@ -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 |