forked from 0x2620/oxjs
refactoring
This commit is contained in:
parent
ab68c4a54f
commit
9ee0742b53
6 changed files with 15 additions and 13 deletions
|
|
@ -848,7 +848,7 @@ Ox.Input = function(options, self) {
|
|||
}
|
||||
|
||||
self.setOption = function(key, value) {
|
||||
var inputWidth, val;
|
||||
var inputWidth;
|
||||
if (['autocomplete', 'autocompleteReplace', 'autocompleteSelect', 'autovalidate'].indexOf(key) > -1) {
|
||||
if (self.options.autocomplete && self.options.autocompleteSelect) {
|
||||
self.$autocompleteMenu = constructAutocompleteMenu();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue