1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

Trigger mention autocomplete on any kind of input

This commit is contained in:
Toby Zerner
2018-11-06 19:11:25 +10:30
parent 6a2ed43a51
commit 4bd704c9c5

View File

@@ -46,7 +46,7 @@ export default function addComposerAutocomplete() {
$textarea
.after($container)
.on('click keyup', function(e) {
.on('click keyup input', function(e) {
// Up, down, enter, tab, escape, left, right.
if ([9, 13, 27, 40, 38, 37, 39].indexOf(e.which) !== -1) return;