Skip to content

Commit

Permalink
style: 💄 dropPath of common neighbour tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Nov 3, 2021
1 parent 47ffb7f commit 48d74f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Components/LinkPrediction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{#if node.to !== currNode && node !== undefined && !(noInfinity && node.measure === Infinity) && !(noZero && node.measure === 0)}
<tr
class={node.linked ? LINKED : NOT_LINKED}
aria-label={node.extra.join('\n')}
aria-label={node.extra.map(dropPath).join('\n')}
aria-label-position="left"
>
<td
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Similarity.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{#if node.to !== currNode && node !== undefined && !(noInfinity && node.measure === Infinity) && !(noZero && node.measure === 0)}
<tr
class={node.linked ? LINKED : NOT_LINKED}
aria-label={node.extra.join('\n')}
aria-label={node.extra.map(dropPath).join('\n')}
aria-label-position="left"
>
<td
Expand Down

0 comments on commit 48d74f0

Please sign in to comment.