This commit is contained in:
syuilo 2017-11-22 00:33:41 +09:00
parent c65d5382c6
commit 36be934d36

View File

@ -211,11 +211,13 @@
} }
}); });
if (this.refs.left.children.length == 0) { if (!this.opts.customize) {
this.refs.left.parentNode.removeChild(this.refs.left); 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.refs.right.children.length == 0) {
this.refs.right.parentNode.removeChild(this.refs.right);
}
} }
if (this.opts.customize) { if (this.opts.customize) {