Skip to content

Commit

Permalink
CLDR-17799 Forum, fix bug in last PR (#3937)
Browse files Browse the repository at this point in the history
  • Loading branch information
btangmu authored Aug 6, 2024
1 parent afeea35 commit 96740bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cldr-apps/js/src/esm/cldrForum.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);
}
Expand Down

0 comments on commit 96740bf

Please sign in to comment.