1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

Fix mentions autocomplete not appearing after users are loaded

This commit is contained in:
Toby Zerner
2015-05-30 14:00:50 +09:30
parent a6e3c3c0c8
commit eb69be366a

View File

@@ -58,6 +58,7 @@ export default function() {
}
dropdown.hide();
dropdown.active(false);
if (mentionStart) {
typed = value.substring(mentionStart, cursor).toLowerCase();
@@ -149,6 +150,7 @@ export default function() {
dropdown.setIndex(0);
dropdown.$().scrollTop(0);
dropdown.active(true);
clearTimeout(searchTimeout);
searchTimeout = setTimeout(function() {