aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-08 11:23:51 -0800
committerJacob Thornton <[email protected]>2012-01-08 11:23:51 -0800
commitf1cbd22b99c3fec54d18341c31cfb1c237db44f2 (patch)
tree180cfee66d7370d19e2002ff2840539581129b0e /js
parent0bbb64be4dc7a168534e5a18f3a493002ed31293 (diff)
downloadbootstrap-f1cbd22b99c3fec54d18341c31cfb1c237db44f2.tar.xz
bootstrap-f1cbd22b99c3fec54d18341c31cfb1c237db44f2.zip
fix buttons for firefox
Diffstat (limited to '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 10a85835e..cb0c45cdf 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')
})
})