mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #10115, fix chat autocomplete hook
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user