Await render call
This commit is contained in:
parent
77abcb11a9
commit
4b75526708
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ export function GenericAppMixin(HandlebarsApp) {
|
|||
* top after being re-rendered as normal
|
||||
*/
|
||||
async render(options = {}, _options = {}) {
|
||||
super.render(options, _options);
|
||||
await super.render(options, _options);
|
||||
const instance = foundry.applications.instances.get(this.id);
|
||||
if (instance !== undefined && options.orBringToFront) {
|
||||
instance.bringToFront();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue