make json blacklist feature work with pure kana

This commit is contained in:
wareya committed 2019-08-14 23:19:55 -04:00
1 parent d0eb4ee13a
commit f4b65a4b89
1 file changed
+4
+4
View File
@@ -996,7 +996,11 @@ function json_lookup_kana_exact(dict, kana)
{
let spellings = dict.entries[index]["s"]
if(spellings.length == 1 && spellings[0] === "")
{
if(exclude.includes(kana))
continue;
actual_possibilities.push(index);
}
else
{
for(let spelling of spellings)