Resolve autocomplete error

pull/255/head
vaifix 2023-08-25 13:01:53 +07:00
parent c551eae651
commit 739ab28763
1 changed files with 1 additions and 1 deletions

@ -281,7 +281,7 @@ function removeDiacritic(str) {
if (!str) {
return "";
}
str = str.toString();
return str.normalize("NFD").replace(/\p{Diacritic}/gu, "");
}