Skip to content

Commit

Permalink
Fix case 0 without type check
Browse files Browse the repository at this point in the history
we are able to compare to values with that changes even if they are not the same type
  • Loading branch information
metehaansever committed Nov 29, 2024
1 parent 0d1bfa9 commit 5dbe740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anvio/data/interactive/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function searchContigs()

switch (operator) {
case '0': // exact match
matchFound = (cellValue === svalue.trim());
matchFound = (cellValue == svalue.trim());
break;
case '1': // not equal
matchFound = (cellValue != svalue.trim());
Expand Down

0 comments on commit 5dbe740

Please sign in to comment.