click-drag no longer opens posts

This commit is contained in:
ari melody 2024-06-30 21:08:14 +01:00
parent 7715e747a2
commit 73afcf6123
Signed by: ari
GPG key ID: CF99829C92678188
8 changed files with 23 additions and 63 deletions

View file

@ -8,7 +8,7 @@
let time_string = post.created_at.toLocaleString();
</script>
<div class={"post-header-container" + (reply ? " reply" : "")}>
<div class={"post-header-container" + (reply ? " reply" : "")} on:mouseup|stopPropagation>
<a href={post.user.url} target="_blank" class="post-avatar-container">
<img src={post.user.avatar_url} type={post.user.avatar_type} alt="" width="48" height="48" class="post-avatar" loading="lazy" decoding="async">
</a>