Commit 139a0775 authored by Jacob Thornton's avatar Jacob Thornton

don't use e.target incase button has icon or other content inside it

parent 11f72f6a
......@@ -91,7 +91,7 @@
$(function () {
$('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
$(e.target).button('toggle')
$(e.currentTarget).button('toggle')
})
})
......
......@@ -91,7 +91,7 @@
$(function () {
$('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
$(e.target).button('toggle')
$(e.currentTarget).button('toggle')
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment