Skip to content

Commit

Permalink
nextstrain#915: using triple equals
Browse files Browse the repository at this point in the history
  • Loading branch information
frogsquire committed Apr 5, 2020
1 parent b553a32 commit 2acff61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tree/phyloTree/labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const updateTipLabels = function updateTipLabels(dt) {
const inViewTerminalNodes = this.nodes
.filter((d) => d.terminal)
.filter((d) => d.inView)
.filter((d) => d.visibility == NODE_VISIBLE);
.filter((d) => d.visibility === NODE_VISIBLE);

// console.log(`there are ${inViewTerminalNodes.length} nodes in view`)

Expand Down

0 comments on commit 2acff61

Please sign in to comment.