fix: #10115, fix chat autocomplete hook

isekai-main
Barış Soner Uşaklı 3 years ago
parent bec0ef8995
commit 69a7634a78

@ -367,7 +367,7 @@ define('forum/chats', [
}, },
}; };
hooks.fire('chat:autocomplete:init', data); $(window).trigger('chat:autocomplete:init', data);
if (data.strategies.length) { if (data.strategies.length) {
autocomplete.setup(data); autocomplete.setup(data);
} }

Loading…
Cancel
Save