mirror of
https://github.com/flarum/core.git
synced 2025-08-11 10:55:47 +02:00
update: ModalManagerState
This commit is contained in:
committed by
Franz Liedke
parent
e28ba4acff
commit
62cb71d4e1
@@ -32,7 +32,7 @@ export default class ModalManagerState {
|
||||
|
||||
this.modal = { componentClass, attrs };
|
||||
|
||||
m.redraw(true);
|
||||
m.redraw.sync();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -50,7 +50,7 @@ export default class ModalManagerState {
|
||||
// ahead.
|
||||
this.closeTimeout = setTimeout(() => {
|
||||
this.modal = null;
|
||||
m.lazyRedraw();
|
||||
m.redraw();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user