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

Fix method that should have been oncreate initially being made as onupdate

This commit is contained in:
Alexander Skvortsov
2020-08-15 19:23:45 -04:00
committed by Franz Liedke
parent 44c1e91f05
commit f017d7afbe

View File

@@ -14,7 +14,9 @@ export default class DiscussionListPane extends Component {
return <div className="DiscussionPage-list">{!$('.App-navigation').is(':visible') && <DiscussionList state={app.discussions} />}</div>;
}
onupdate(vnode) {
oncreate(vnode) {
super.oncreate(vnode);
const $list = $(vnode.dom);
// When the mouse enters and leaves the discussions pane, we want to show