Fixed issue with na-adjectives.

This commit is contained in:
doncr 2021-09-28 21:29:34 +01:00
parent 241bb0e029
commit 82fc46bcbf

View File

@ -424,7 +424,9 @@ function generateQuestion() {
var dictionary = words[data.entry].conjugations["dictionary"].forms;
if (words[data.entry].group == "na-adjective") {
dictionary = dictionary.replace(/だ$/, '')
for (var i = 0; i < dictionary.length; i++) {
dictionary[i] = dictionary[i].replace(/だ$/, '')
}
}
if (!options["kana"]) {