forked from 0x2620/oxjs
use [].concat, not Ox.merge
This commit is contained in:
parent
36d0162b8b
commit
1c40fb007b
27 changed files with 87 additions and 90 deletions
|
|
@ -328,7 +328,7 @@ Ox.Input = function(options, self) {
|
|||
function autocompleteFunction() {
|
||||
var values = Ox.find(self.options.autocomplete, self.options.value);
|
||||
return self.options.autocompleteReplace
|
||||
? values[0] : Ox.merge(values[0], values[1]);
|
||||
? values[0] : values[0].concat(values[1]);
|
||||
}
|
||||
|
||||
function autocompleteCallback(values) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue