mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
don't run conversion on auto-furi syntax
This commit is contained in:
1 parent
54f3b699a9
commit
8242ace3fe
2 files changed
+8
-2
No files matched your search
@@ -178,7 +178,11 @@ function SearchPage() {
|
||||
|
||||
function onSearchboxChange(q: string) {
|
||||
if (isAutoKana) {
|
||||
q = toKana(q, { useObsoleteKana: true, IMEMode: true });
|
||||
q = toKana(
|
||||
q,
|
||||
{ useObsoleteKana: true, IMEMode: true },
|
||||
Object.fromEntries("<>[]".split("").map((c) => [c, c])),
|
||||
);
|
||||
}
|
||||
|
||||
setQ(q);
|
||||
|
||||
Reference in new issue
Block a user