fix Ox.Input (can't use Ox.$ yet)
This commit is contained in:
parent
6dbdf91259
commit
4779f31171
1 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ Ox.Input = function(options, self) {
|
|||
.appendTo(that);
|
||||
}
|
||||
|
||||
self.$input = Ox.$(self.options.type == 'textarea' ? '<textarea>' : '<input>')
|
||||
self.$input = $(self.options.type == 'textarea' ? '<textarea>' : '<input>')
|
||||
.addClass('OxInput OxMedium Ox' + Ox.toTitleCase(self.options.style))
|
||||
.attr({
|
||||
disabled: self.options.disabled,
|
||||
|
@ -333,7 +333,7 @@ Ox.Input = function(options, self) {
|
|||
|
||||
if (self.hasPasswordPlaceholder) {
|
||||
self.$input.hide();
|
||||
self.$placeholder = Ox.$('<input>')
|
||||
self.$placeholder = $('<input>')
|
||||
.addClass('OxInput OxMedium Ox' +
|
||||
Ox.toTitleCase(self.options.style) +
|
||||
' OxPlaceholder')
|
||||
|
|
Loading…
Reference in a new issue