Skip to content

Commit b2a89bc

Browse files
committed
Corrected category filters
1 parent 0b10fe2 commit b2a89bc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

content/assets/js/requirements-table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ $(function () {
2525
.get();
2626

2727
const categories = $("input[name^='category']:checked")
28-
.map(function () { return $(this).next("a").text().trim(); })
28+
.map(function () {
29+
return this.nextSibling.nodeValue.trim();
30+
})
2931
.get();
3032

3133
const conditional = $("input[name='conditionFilter']:checked").val();

0 commit comments

Comments
 (0)