Explorar el Código

unnecessary check

David Catuhe hace 7 años
padre
commit
3719de32ef
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  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();