mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 02:27:48 +08:00
use .render a bit more... hopefully no weird errors or issues arise
This commit is contained in:
parent
6656820f24
commit
3410bf0935
|
@ -41,7 +41,7 @@ export default class ModalManager extends Component {
|
|||
clearTimeout(this.hideTimeout);
|
||||
|
||||
this.showing = true;
|
||||
this.node = component.tag ? component : m(component);
|
||||
this.node = component.tag ? component : component.render();
|
||||
|
||||
// if (app.current) app.current.retain = true;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ export default class NotificationsDropdown extends Dropdown {
|
|||
getMenu() {
|
||||
return (
|
||||
<div className={'Dropdown-menu ' + this.props.menuClassName} onclick={this.menuClick.bind(this)}>
|
||||
{this.showing ? m(this.list) : ''}
|
||||
{this.showing ? this.list.render() : ''}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user