mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 02:09:05 +01:00
[client] Fix user autocomplete not disappearing
This commit is contained in:
parent
ef14e0221b
commit
b335fda4b0
@ -3,7 +3,7 @@ import getCaretCoordinates from "textarea-caret";
|
||||
import { toASCII } from "punycode/";
|
||||
import { popup } from "@/os";
|
||||
|
||||
const mentionRegex = /@(?<user>[a-zA-Z0-9_]+|$)@?(?<host>[a-zA-Z0-9-.]+)?/g;
|
||||
const mentionRegex = /@(?<user>[a-zA-Z0-9_]+|$)@?(?<host>[a-zA-Z0-9-.]+)?$/g;
|
||||
|
||||
export class Autocomplete {
|
||||
private suggestion: {
|
||||
|
Loading…
Reference in New Issue
Block a user