This commit is contained in:
syuilo 2017-11-22 00:33:41 +09:00
parent 67cab2d6ce
commit de8a40d0b1
1 changed files with 7 additions and 5 deletions

View File

@ -211,12 +211,14 @@
} }
}); });
if (!this.opts.customize) {
if (this.refs.left.children.length == 0) { if (this.refs.left.children.length == 0) {
this.refs.left.parentNode.removeChild(this.refs.left); this.refs.left.parentNode.removeChild(this.refs.left);
} }
if (this.refs.right.children.length == 0) { if (this.refs.right.children.length == 0) {
this.refs.right.parentNode.removeChild(this.refs.right); this.refs.right.parentNode.removeChild(this.refs.right);
} }
}
if (this.opts.customize) { if (this.opts.customize) {
dialog('<i class="fa fa-info-circle"></i>カスタマイズのヒント', dialog('<i class="fa fa-info-circle"></i>カスタマイズのヒント',