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:
authorJacob Thornton <jacobthornton@gmail.com>2012-01-08 23:23:51 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-01-08 23:23:51 +0400
commitf1cbd22b99c3fec54d18341c31cfb1c237db44f2 (patch)
tree180cfee66d7370d19e2002ff2840539581129b0e /js/bootstrap-button.js
parent0bbb64be4dc7a168534e5a18f3a493002ed31293 (diff)
fix buttons for firefox
Diffstat (limited to 'js/bootstrap-button.js')
-rw-r--r--js/bootstrap-button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-button.js b/js/bootstrap-button.js
index 10a85835e6..cb0c45cdf1 100644
--- a/js/bootstrap-button.js
+++ b/js/bootstrap-button.js
@@ -91,7 +91,7 @@
$(function () {
$('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
- $(e.srcElement).button('toggle')
+ $(e.target).button('toggle')
})
})