1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 10:55:47 +02:00

update: ModalManagerState

This commit is contained in:
Alexander Skvortsov
2020-08-07 15:54:54 -04:00
committed by Franz Liedke
parent e28ba4acff
commit 62cb71d4e1

View File

@@ -32,7 +32,7 @@ export default class ModalManagerState {
this.modal = { componentClass, attrs }; this.modal = { componentClass, attrs };
m.redraw(true); m.redraw.sync();
} }
/** /**
@@ -50,7 +50,7 @@ export default class ModalManagerState {
// ahead. // ahead.
this.closeTimeout = setTimeout(() => { this.closeTimeout = setTimeout(() => {
this.modal = null; this.modal = null;
m.lazyRedraw(); m.redraw();
}); });
} }
} }