fix function not appearing in first tab when appearing in another one. Thanks to @Seeker14491 for this one!
This commit is contained in:
parent
f6a546e14d
commit
e8db5adcce
1 changed files with 2 additions and 1 deletions
|
@ -979,7 +979,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (results['others'].length < maxResults &&
|
if (results['others'].length < maxResults &&
|
||||||
((query.search && obj.name.indexOf(query.search)) || added === false)) {
|
((query.search && obj.name.indexOf(query.search) !== -1) ||
|
||||||
|
added === false)) {
|
||||||
results['others'].push(obj);
|
results['others'].push(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue