mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +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 { toASCII } from "punycode/";
|
||||||
import { popup } from "@/os";
|
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 {
|
export class Autocomplete {
|
||||||
private suggestion: {
|
private suggestion: {
|
||||||
|
Loading…
Reference in New Issue
Block a user