Skip to content

Commit

Permalink
Fix frequencies missing value to push to array (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube authored and jamesmaa committed Oct 14, 2024
1 parent 73793a4 commit 142644b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/js/data/anki-note-data-creator.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function getFrequencyNumbers(dictionaryEntry) {
if (frequencyMatch !== null) {
const frequencyParsed = Number.parseInt(frequencyMatch[0], 10);
if (frequencyParsed > 0) {
frequencies.push();
frequencies.push(frequencyParsed);
continue;
}
}
Expand Down

0 comments on commit 142644b

Please sign in to comment.