From de8a40d0b120e383279480b74b5fbfa455d68237 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Nov 2017 00:33:41 +0900 Subject: [PATCH] Fix #938 --- src/web/app/desktop/tags/home.tag | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/web/app/desktop/tags/home.tag b/src/web/app/desktop/tags/home.tag index c751117517..55f36e0977 100644 --- a/src/web/app/desktop/tags/home.tag +++ b/src/web/app/desktop/tags/home.tag @@ -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) {