Przeglądaj źródła

unnecessary check

David Catuhe 7 lat temu
rodzic
commit
3719de32ef
1 zmienionych plików z 2 dodań i 4 usunięć
  1. 2 4
      src/babylon.node.ts

+ 2 - 4
src/babylon.node.ts

@@ -392,10 +392,8 @@
                 return false;
             }
 
-            if (this._parentNode) {
-                if (!this.isSynchronizedWithParent()) {
-                    return false;
-                }
+            if (!this.isSynchronizedWithParent()) {
+                return false;
             }
 
             return this._isSynchronized();