mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 17:15:13 +00:00
Fix #938
This commit is contained in:
parent
67cab2d6ce
commit
de8a40d0b1
1 changed files with 7 additions and 5 deletions
|
@ -211,11 +211,13 @@
|
|||
}
|
||||
});
|
||||
|
||||
if (this.refs.left.children.length == 0) {
|
||||
this.refs.left.parentNode.removeChild(this.refs.left);
|
||||
}
|
||||
if (this.refs.right.children.length == 0) {
|
||||
this.refs.right.parentNode.removeChild(this.refs.right);
|
||||
if (!this.opts.customize) {
|
||||
if (this.refs.left.children.length == 0) {
|
||||
this.refs.left.parentNode.removeChild(this.refs.left);
|
||||
}
|
||||
if (this.refs.right.children.length == 0) {
|
||||
this.refs.right.parentNode.removeChild(this.refs.right);
|
||||
}
|
||||
}
|
||||
|
||||
if (this.opts.customize) {
|
||||
|
|
Loading…
Reference in a new issue