diff --git a/tools/cldr-apps/js/src/esm/cldrForum.mjs b/tools/cldr-apps/js/src/esm/cldrForum.mjs index 511c9344061..04e544726ce 100644 --- a/tools/cldr-apps/js/src/esm/cldrForum.mjs +++ b/tools/cldr-apps/js/src/esm/cldrForum.mjs @@ -247,7 +247,7 @@ function openPostOrReply(pi) { const subject = makePostSubject(isReply, rootPost, pi.subject); const root = isReply ? rootPost.id : -1; const open = isReply ? rootPost.open : true; - const typeLabel = makePostTypeLabel(postType, isReply); + const typeLabel = makePostTypeLabel(pi.postType, isReply); const html = makePostHtml( pi.postType, typeLabel, @@ -260,7 +260,7 @@ function openPostOrReply(pi) { pi.value, pi.willFlag ); - const text = prefillPostText(postType, value); + const text = prefillPostText(pi.postType, pi.value); openPostWindow(html, text, pi.parentPost); }