From 7e5b40c5323f88031690450f649aec43ec2defc1 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Sun, 9 Aug 2020 23:15:38 -0400 Subject: [PATCH] Fix: extend Component in ReplyPlaceholderComponent --- js/src/forum/components/ReplyPlaceholderPreview.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/src/forum/components/ReplyPlaceholderPreview.js b/js/src/forum/components/ReplyPlaceholderPreview.js index 08dd6db51..af422a82c 100644 --- a/js/src/forum/components/ReplyPlaceholderPreview.js +++ b/js/src/forum/components/ReplyPlaceholderPreview.js @@ -1,11 +1,15 @@ /*global s9e*/ -export default class ReplyPlaceholderPreview { +import Component from "../../common/Component"; + +export default class ReplyPlaceholderPreview extends Component { view() { return
; } oncreate(vnode) { + super.oncreate(vnode); + // Every 50ms, if the composer content has changed, then update the post's // body with a preview. let preview;