fix function not appearing in first tab when appearing in another one. Thanks to @Seeker14491 for this one!

This commit is contained in:
Guillaume Gomez 2017-10-29 13:42:34 +01:00
parent f6a546e14d
commit e8db5adcce

View File

@ -979,7 +979,8 @@
}
}
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);
}
}