Attempt to fix occasional cursor error

This commit is contained in:
Zed
2021-12-28 08:07:15 +01:00
parent aa2fed19d7
commit c09a8d87d9
3 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri
import karax/[karaxdsl, vdom]
import ".."/[types, formatters]
@@ -38,7 +37,7 @@ proc renderReplies*(replies: Result[Chain]; prefs: Prefs; path: string): VNode =
renderReplyThread(thread, prefs, path)
if replies.bottom.len > 0:
renderMore(Query(), encodeUrl(replies.bottom), focus="#r")
renderMore(Query(), replies.bottom, focus="#r")
proc renderConversation*(conv: Conversation; prefs: Prefs; path: string): VNode =
let hasAfter = conv.after.content.len > 0