diff --git a/src/common/Pin.svelte b/src/common/Pin.svelte
index a350d5d8d..cdf991137 100644
--- a/src/common/Pin.svelte
+++ b/src/common/Pin.svelte
@@ -16,7 +16,13 @@
   }px;`;
 </script>
 
-<button class="pin" class:active class:disabled on:click style={cssVarStyles}>
+<button
+  class="pin"
+  class:active
+  class:disabled
+  on:click|stopPropagation|preventDefault
+  style={cssVarStyles}
+>
   <Pin {title} {size} />
 </button>