@micro-zoe/micro-app 1.0.0-rc.14 → 1.0.0-rc.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- const version = '1.0.0-rc.14';
1
+ const version = '1.0.0-rc.15';
2
2
  // do not use isUndefined
3
3
  const isBrowser = typeof window !== 'undefined';
4
4
  // do not use isUndefined
@@ -7649,7 +7649,7 @@ function invokePrototypeMethod(app, rawMethod, parent, targetNode, passiveNode)
7649
7649
  }
7650
7650
  else if (rawMethod === globalEnv.rawRemoveChild && !hijackParent.contains(targetNode)) {
7651
7651
  if (parent.contains(targetNode)) {
7652
- return rawMethod.call(parent, targetNode);
7652
+ return rawMethod.call(targetNode.parentElement, targetNode);
7653
7653
  }
7654
7654
  return targetNode;
7655
7655
  }