From: Jacob Thornton Date: Sun, 8 Jan 2012 19:23:51 +0000 (-0800) Subject: fix buttons for firefox X-Git-Tag: v2.0.0~6^2~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1cbd22b99c3fec54d18341c31cfb1c237db44f2;p=thirdparty%2Fbootstrap.git fix buttons for firefox --- 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') }) })