]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix buttons for firefox
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 8 Jan 2012 19:23:51 +0000 (11:23 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 8 Jan 2012 19:23:51 +0000 (11:23 -0800)
js/bootstrap-button.js

index 10a85835e6ffe6115088b812367444cbeb85b421..cb0c45cdf17305d7a91f58ff5c99e29f75f3c5bc 100644 (file)
@@ -91,7 +91,7 @@
 
   $(function () {
     $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
-      $(e.srcElement).button('toggle')
+      $(e.target).button('toggle')
     })
   })