diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-22 00:33:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-22 00:33:41 +0900 |
| commit | de8a40d0b120e383279480b74b5fbfa455d68237 (patch) | |
| tree | 70254a374f1dde2ab9e9024c44b2a8c48cec2d12 /src | |
| parent | Update tips.tag (diff) | |
| download | sharkey-de8a40d0b120e383279480b74b5fbfa455d68237.tar.gz sharkey-de8a40d0b120e383279480b74b5fbfa455d68237.tar.bz2 sharkey-de8a40d0b120e383279480b74b5fbfa455d68237.zip | |
Fix #938
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/desktop/tags/home.tag | 12 |
1 files 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) { |