fix Ox.Input (can't use Ox.$ yet)

This commit is contained in:
rolux 2013-12-07 15:07:39 +01:00
parent 6dbdf91259
commit 4779f31171

View file

@ -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')