mirror of
https://github.com/ZetaKebab/japanese-conjugation-drill.git
synced 2025-01-14 22:08:44 +00:00
Fixed issue with na-adjectives.
This commit is contained in:
parent
241bb0e029
commit
82fc46bcbf
@ -424,7 +424,9 @@ function generateQuestion() {
|
|||||||
var dictionary = words[data.entry].conjugations["dictionary"].forms;
|
var dictionary = words[data.entry].conjugations["dictionary"].forms;
|
||||||
|
|
||||||
if (words[data.entry].group == "na-adjective") {
|
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"]) {
|
if (!options["kana"]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user