Timothy Jaeryang Baek 4 months ago
parent
commit
085f48366b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/components/layout/Sidebar/ChannelItem.svelte

+ 1 - 2
src/lib/components/layout/Sidebar/ChannelItem.svelte

@@ -81,9 +81,8 @@
 	{#if $user?.role === 'admin'}
 		<button
 			class="absolute z-10 right-2 invisible group-hover:visible self-center flex items-center dark:text-gray-300"
-			on:pointerup={(e) => {
+			on:click={(e) => {
 				e.stopPropagation();
-
 				showEditChannelModal = true;
 			}}
 		>