Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/bootstrap-alert.js')
-rw-r--r--js/bootstrap-alert.js4
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