modal: fix toggle on state
This commit is contained in:
parent
4f77dab9f1
commit
cf4f469cc0
3 changed files with 6 additions and 27 deletions
|
|
@ -109,7 +109,7 @@ module.exports = class Modal extends Panel {
|
|||
this.fixScrolling()
|
||||
|
||||
this.popup.toggle(this.value?true:false)
|
||||
this.container.toggleClass('on', this.value?true:false)
|
||||
this.container.add(this.light).toggleClass('on', this.value?true:false)
|
||||
|
||||
|
||||
if (this.value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue