diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 956d1d1..86d277a 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -72,7 +72,7 @@ document.getElementById("readInput").addEventListener("click", async function() continue; } let _break = false; - for (let abbr in constants.months.keys()) if (kw.startsWith(abbr)) { + for (let abbr of Object.keys(constants.months)) if (kw.startsWith(abbr)) { month = constants.months[abbr]; _break = true; break;