Update ReferenceAttachDetach.js
This commit is contained in:
1 parent
33db177388
commit
ee0c6cbe6d
1 file changed
+1
-1
@@ -19,7 +19,7 @@ function newReferenceAttachDetach () {
|
||||
}
|
||||
|
||||
function completeDetachment (node) {
|
||||
if (node.payload.referenceParent.payload !== undefined && node.payload.referenceParent.payload.uiObject !== undefined) {
|
||||
if (node.payload !== undefined && node.payload.referenceParent.payload !== undefined && node.payload.referenceParent.payload.uiObject !== undefined) {
|
||||
node.payload.referenceParent.payload.uiObject.isShowing = false
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user