Skip to content

Commit

Permalink
fix: tooltip for switch button
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Junk committed Nov 15, 2023
1 parent f3b41de commit 7c22625
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@
</div>
<div><h4>{mode === MODE.SINGLE ? "Single View" : "Multi View"}</h4></div>
<div class="switchbtn">
<a title={mode} href={switchToRoute} class="switchbutton button"
<a
title={mode !== MODE.SINGLE ? "Switch to Single View" : "Switch to Multi View"}
href={switchToRoute}
class="switchbutton button"
>{mode !== MODE.SINGLE ? "Switch to Single View" : "Switch to Multi View"}</a
>
</div>
Expand Down

0 comments on commit 7c22625

Please sign in to comment.