fastdom: exception in dragresize ui
This commit is contained in:
parent
459a37960c
commit
1930f5465c
1 changed files with 4 additions and 2 deletions
|
|
@ -156,8 +156,10 @@ class UiDragResize extends UiWidget {
|
|||
this.initHeight = this.height
|
||||
|
||||
fastdom.mutate(()=>{
|
||||
this.widgets[0].parentNode.appendChild(this.container)
|
||||
this.mounted = true
|
||||
if (this.widgets.length) {
|
||||
this.widgets[0].parentNode.appendChild(this.container)
|
||||
this.mounted = true
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue