check if element setup before detach
This commit is contained in:
parent
67274f873c
commit
e31d50eedc
|
@ -576,7 +576,9 @@
|
|||
var maxHeight = 0;
|
||||
_.each(nodes, function(n) {
|
||||
if (n._id === null) {
|
||||
n.el.remove();
|
||||
if (n.el) {
|
||||
n.el.remove();
|
||||
}
|
||||
} else {
|
||||
n.el
|
||||
.attr('data-gs-x', n.x)
|
||||
|
|
Loading…
Reference in a new issue