From f1cbd22b99c3fec54d18341c31cfb1c237db44f2 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 8 Jan 2012 11:23:51 -0800 Subject: fix buttons for firefox --- js/bootstrap-button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/bootstrap-button.js') 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') }) }) -- cgit v1.2.3