bootstrap-buttons ignores data-loading-text
Created by: matthewbjones
No matter what you specify in 'data-loading-text' on your 'button' tag, the JS always uses the default "loading...".
I believe the error is located at line 32: $el.html( data[state] || $.fn.button.defaults[state] )
should be something like
$el.html( $el.data(state) || $.fn.button.defaults[state] )
$el.data()['something'] does not behave the same as $el.data('something')