diff --git a/src/lib/components/lemmy/comment/CommentItem.svelte b/src/lib/components/lemmy/comment/CommentItem.svelte index 21631d35..76a3444a 100644 --- a/src/lib/components/lemmy/comment/CommentItem.svelte +++ b/src/lib/components/lemmy/comment/CommentItem.svelte @@ -60,12 +60,14 @@ {$t('common.jump')} - + {/if} diff --git a/src/lib/components/lemmy/post/PostMeta.svelte b/src/lib/components/lemmy/post/PostMeta.svelte index 4a79e808..a3f103ab 100644 --- a/src/lib/components/lemmy/post/PostMeta.svelte +++ b/src/lib/components/lemmy/post/PostMeta.svelte @@ -72,8 +72,6 @@ import CommunityHeader from '../community/CommunityHeader.svelte' import { publishedToDate } from '$lib/components/util/date' - let popoverOpen = $state(false) - interface Props { community?: Community | undefined showCommunity?: boolean @@ -132,36 +130,13 @@ class:compact={view == 'compact'} {style} > - {#if showCommunity && community != undefined && subscribed} - - {#snippet target()} - (popoverOpen = !popoverOpen)} - class="relative cursor-pointer row-span-2 flex-shrink-0 pr-2 group/community" - > - - - {/snippet} - - - {#snippet popover()} - {#if community && subscribed} - {})} - > - - - {/if} - {/snippet} - - - + {#if showCommunity && community} + {/if} {#if showCommunity && community} diff --git a/src/lib/components/ui/navbar/Profile.svelte b/src/lib/components/ui/navbar/Profile.svelte index 459a85da..93212242 100644 --- a/src/lib/components/ui/navbar/Profile.svelte +++ b/src/lib/components/ui/navbar/Profile.svelte @@ -194,7 +194,6 @@ - { - if (navigating.to) { - document.body.classList.toggle('wait', true) - barTimeout = setTimeout(() => nProgress.start(), 100) - } else { - document.body.classList.toggle('wait', false) - clearTimeout(barTimeout) - nProgress.done() - } + if (navigating.to) nProgress.start() + else nProgress.done() }) - - let error = $state(null) - - function onerror(e: any, r: any) { - error = e - } diff --git a/src/routes/post/[instance]/[id=integer]/+page.svelte b/src/routes/post/[instance]/[id=integer]/+page.svelte index fceb3e43..92a5aadb 100644 --- a/src/routes/post/[instance]/[id=integer]/+page.svelte +++ b/src/routes/post/[instance]/[id=integer]/+page.svelte @@ -1,10 +1,5 @@ @@ -388,7 +370,7 @@ {$t('routes.post.commentCount')} - {#await comments} + {#await data.comments} {#each new Array(10) as empty, index} {#each data.results as result} {#if isPostView(result)}