testing, try longer timeout

This commit is contained in:
rolux 2014-12-17 14:54:59 +00:00
parent a7739f5e5e
commit 655f77a06d

View file

@ -484,12 +484,12 @@ Ox.Input = function(options, self) {
}); });
self.selectEventBound = true; self.selectEventBound = true;
} }
if (self.options.autocompleteSelectUpdate) {
setTimeout(self.$autocompleteMenu.updatePosition, 25);
}
self.$autocompleteMenu.options({ self.$autocompleteMenu.options({
selected: selected selected: selected
}).showMenu(); }).showMenu();
if (self.options.autocompleteSelectUpdate) {
setTimeout(self.$autocompleteMenu.updatePosition, 250);
}
} else { } else {
self.$autocompleteMenu self.$autocompleteMenu
.unbindEvent('select') .unbindEvent('select')