Skip to content

Commit

Permalink
Fix double click event handling in top bar (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanml authored Aug 16, 2023
1 parent f9d47c7 commit e9082da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svelte/src/components/top-bar/top-bar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<header
class="border-gray relative z-20 flex h-12 w-full items-center justify-between border border-x-0 border-t-0 pr-2"
style="-webkit-app-region: drag"
on:dblclick={topbarDoubleClick}
on:dblclick|self={() => topbarDoubleClick()}
>
<ul class="text-gray flex h-10 items-center gap-1 pl-20 align-middle leading-10">
<a href="/?tab=discover" data-testid="home-button">
Expand Down

0 comments on commit e9082da

Please sign in to comment.