modal: fix init order (resize glitch on recent chrome)

This commit is contained in:
jean-emmanuel 2019-01-09 09:00:08 +01:00
parent 3c5ed1c42b
commit 7ee58a916a
2 changed files with 3 additions and 1 deletions

View file

@ -123,11 +123,12 @@ module.exports = class Modal extends Panel {
this.bindEscKey(this.value)
if (this.init) this.fixParents()
if (this.value) {
resize.check(this.widget, true)
}
if (this.init) this.fixParents()
if (options.send) this.sendValue()
if (options.sync) this.changed(options)