From 067f202c0854d329b80995629c3a8f25d5f4dcac Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Sat, 30 May 2026 13:07:38 +0200 Subject: [PATCH] hgfd --- public/s/js/scroller.js | 2 +- src/inc/routes/comments.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/s/js/scroller.js b/public/s/js/scroller.js index 56d40cc..42abb97 100644 --- a/public/s/js/scroller.js +++ b/public/s/js/scroller.js @@ -2805,7 +2805,7 @@ avatar: null, username: window.scrollerUsername, display_name: displayName, - content: content, + content: data.comment?.content ?? content, created_at: null }, !!window.scrollerLoggedIn); // Set avatar from global diff --git a/src/inc/routes/comments.mjs b/src/inc/routes/comments.mjs index cebf073..a19bc6d 100644 --- a/src/inc/routes/comments.mjs +++ b/src/inc/routes/comments.mjs @@ -532,6 +532,7 @@ export default (router, tpl) => { success: true, comment: { ...newComment[0], + content, files: activityFiles }, xd_score: xdRow?.xd_score ?? null,