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);
|
.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))
|
.addClass('OxInput OxMedium Ox' + Ox.toTitleCase(self.options.style))
|
||||||
.attr({
|
.attr({
|
||||||
disabled: self.options.disabled,
|
disabled: self.options.disabled,
|
||||||
|
@ -333,7 +333,7 @@ Ox.Input = function(options, self) {
|
||||||
|
|
||||||
if (self.hasPasswordPlaceholder) {
|
if (self.hasPasswordPlaceholder) {
|
||||||
self.$input.hide();
|
self.$input.hide();
|
||||||
self.$placeholder = Ox.$('<input>')
|
self.$placeholder = $('<input>')
|
||||||
.addClass('OxInput OxMedium Ox' +
|
.addClass('OxInput OxMedium Ox' +
|
||||||
Ox.toTitleCase(self.options.style) +
|
Ox.toTitleCase(self.options.style) +
|
||||||
' OxPlaceholder')
|
' OxPlaceholder')
|
||||||
|
|
Loading…
Reference in a new issue