fix function not appearing in first tab when appearing in another one. Thanks to @Seeker14491 for this one!
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user