1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 08:56:38 +02:00

provide vnode to onupdate where it was actually needed

This commit is contained in:
Alexander Skvortsov
2020-08-15 19:37:54 -04:00
committed by Franz Liedke
parent f8bc58fd1a
commit e0e3d6ecae

View File

@@ -53,7 +53,7 @@ export default class CommentPost extends Post {
]);
}
onupdate() {
onupdate(vnode) {
super.onupdate();
const contentHtml = this.isEditing() ? '' : this.attrs.post.contentHtml();