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 Oct 10, 2024
1 parent 7bc911b commit 17f76ba
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 17f76ba

Please sign in to comment.