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-button.js')
-rw-r--r--js/bootstrap-button.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bootstrap-button.js b/js/bootstrap-button.js
index d85c82947a..89101ed7be 100644
--- a/js/bootstrap-button.js
+++ b/js/bootstrap-button.js
@@ -91,8 +91,8 @@
$(function () {
$('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
- $(e.target).button('toggle')
+ $(e.currentTarget).button('toggle')
})
})
-}( window.jQuery )
+}( window.jQuery ); \ No newline at end of file