make json blacklist feature work with pure kana
This commit is contained in:
1 parent
d0eb4ee13a
commit
f4b65a4b89
1 file changed
+4
@@ -996,7 +996,11 @@ function json_lookup_kana_exact(dict, kana)
|
|||||||
{
|
{
|
||||||
let spellings = dict.entries[index]["s"]
|
let spellings = dict.entries[index]["s"]
|
||||||
if(spellings.length == 1 && spellings[0] === "")
|
if(spellings.length == 1 && spellings[0] === "")
|
||||||
|
{
|
||||||
|
if(exclude.includes(kana))
|
||||||
|
continue;
|
||||||
actual_possibilities.push(index);
|
actual_possibilities.push(index);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for(let spelling of spellings)
|
for(let spelling of spellings)
|
||||||
|
|||||||
Reference in new issue
Block a user