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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user