Skip to content
Snippets Groups Projects
Commit de8a40d0 authored by syuilo's avatar syuilo
Browse files

Fix #938

parent 67cab2d6
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment