mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-31 02:40:26 +02:00
define constructor on prototypes
This commit is contained in:
4
js/bootstrap-button.js
vendored
4
js/bootstrap-button.js
vendored
@@ -31,7 +31,9 @@
|
||||
|
||||
Button.prototype = {
|
||||
|
||||
setState: function (state) {
|
||||
constructor: Button
|
||||
|
||||
, setState: function (state) {
|
||||
var d = 'disabled'
|
||||
, $el = this.$element
|
||||
, data = $el.data()
|
||||
|
Reference in New Issue
Block a user