Skip to content

Commit

Permalink
this is more in line
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent 63cdf23 commit a7c8ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ document.getElementById("readInput").addEventListener("click", async function()
let keywords = line.toLowerCase().split(" ").filter(r=>r !== "");
console.log(keywords);
if (keywords[0].contains("name")) {
if (!currentSubmission.skip) data.submissions.push(currentSubmission);
currentSubmission = {
name: keywords.slice(1,keywords.length).join(" "),
date: "",
Expand All @@ -38,6 +37,7 @@ document.getElementById("readInput").addEventListener("click", async function()
console.log(currentSubmission);
}
}
data.submissions.push(currentSubmission);
});

/* example data
Expand Down

0 comments on commit a7c8ca0

Please sign in to comment.