twitter/bootstrap — pull request #695 by envex (2011-11-24 19:27:02+00:00)
Title: Allows the use of bootstrap-buttons.js on submit buttons.

Checks if the element is an input and changes the value instead of the html. Also sets the resetText value to val if the element is an input.