mirror of
https://github.com/flarum/framework.git
synced 2025-02-08 22:51:43 +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);
|
clearTimeout(this.hideTimeout);
|
||||||
|
|
||||||
this.showing = true;
|
this.showing = true;
|
||||||
this.node = component.tag ? component : m(component);
|
this.node = component.tag ? component : component.render();
|
||||||
|
|
||||||
// if (app.current) app.current.retain = true;
|
// if (app.current) app.current.retain = true;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ export default class NotificationsDropdown extends Dropdown {
|
||||||
getMenu() {
|
getMenu() {
|
||||||
return (
|
return (
|
||||||
<div className={'Dropdown-menu ' + this.props.menuClassName} onclick={this.menuClick.bind(this)}>
|
<div className={'Dropdown-menu ' + this.props.menuClassName} onclick={this.menuClick.bind(this)}>
|
||||||
{this.showing ? m(this.list) : ''}
|
{this.showing ? this.list.render() : ''}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user