Skip to content

Commit

Permalink
wrote the predicate wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent d64db85 commit 20dcb59
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 @@ -20,7 +20,7 @@ document.addEventListener("DOMContentLoaded", async function() {
});

document.getElementById("readInput").addEventListener("click", async function() {
let parserData = document.getElementById("inputTextArea").value.split("\n").filter(r=>r === "");
let parserData = document.getElementById("inputTextArea").value.split("\n").filter(r=>r !== "");
console.log(parserData);
});

Expand Down

0 comments on commit 20dcb59

Please sign in to comment.