change source of select, fixes #61
This commit is contained in:
@ -151,11 +151,16 @@ To create your own input you can inherit from this class.
|
||||
this.$input.addClass(this.options.inputclass);
|
||||
}
|
||||
},
|
||||
|
||||
setAttr: function(attr) {
|
||||
if (this.options[attr]) {
|
||||
this.$input.attr(attr, this.options[attr]);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
option: function(key, value) {
|
||||
this.options[key] = value;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user