From 7031ef7ef7cbf9a54afeb63152878646f680f9a9 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 27 Aug 2016 23:33:34 +0930 Subject: [PATCH] Avoid JSX to workaround Mithril 0.1.x weirdness. closes flarum/core#975 --- js/forum/src/components/CommentPost.js | 5 ++++- js/lib/helpers/listItems.js | 22 ++++++++++------------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/js/forum/src/components/CommentPost.js b/js/forum/src/components/CommentPost.js index 8e91096ac..e31be5ed1 100644 --- a/js/forum/src/components/CommentPost.js +++ b/js/forum/src/components/CommentPost.js @@ -41,8 +41,11 @@ export default class CommentPost extends Post { } content() { + // Note: we avoid using JSX for the