Skip to content

Commit

Permalink
Merge pull request #144 from Poopthon/main
Browse files Browse the repository at this point in the history
DONE
  • Loading branch information
Poopthon authored Dec 31, 2024
2 parents 62daabe + ce3a1da commit 06f12f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ async function search() {
data.questions.push(allQuestions[index]);
}
} else {
if (data.filters.tags.length == 0 || data.filters.tags.some(tag => question.tags.includes(tag))) {
if (data.filters.tags.length == 0 || data.filters.tags.every(tag => question.tags.includes(tag))) {
data.questions.push(allQuestions[index]);
}
}
Expand Down Expand Up @@ -1031,4 +1031,4 @@ window.addEventListener("load", async function() {
});
});

window.addEventListener("resize", adjustZoomForOverflow);
window.addEventListener("resize", adjustZoomForOverflow);

0 comments on commit 06f12f6

Please sign in to comment.