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:
committed by
Franz Liedke
parent
44c1e91f05
commit
f017d7afbe
@@ -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
|
||||
|
Reference in New Issue
Block a user