modal: trigger resize when showing to make sure inner widget are correctly drawn
This commit is contained in:
parent
ff6c4bb201
commit
9f10aa7d6d
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ module.exports = class Modal extends Panel {
|
|||
this.widget.toggleClass('on', this.value)
|
||||
this.light.toggleClass('on', this.value)
|
||||
|
||||
if (this.value) $(window).resize()
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue