@ohhwells/bridge 0.1.61 → 0.1.62

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/dist/index.js CHANGED
@@ -12691,7 +12691,7 @@ function isNavItemPointerTarget(el) {
12691
12691
  function getNavigationItemAnchor(el) {
12692
12692
  const anchor = el.matches("[data-ohw-href-key]") ? el : el.closest("[data-ohw-href-key]");
12693
12693
  if (!anchor) return null;
12694
- if (!anchor.querySelector('[data-ohw-editable="text"], [data-ohw-editable="plain"]') && !getSocialItem(anchor))
12694
+ if (!anchor.matches('[data-ohw-editable="text"], [data-ohw-editable="plain"]') && !anchor.querySelector('[data-ohw-editable="text"], [data-ohw-editable="plain"]') && !getSocialItem(anchor))
12695
12695
  return null;
12696
12696
  if (!isNavItemPointerTarget(anchor)) return null;
12697
12697
  return anchor;
@@ -17220,7 +17220,7 @@ function OhhwellsBridge() {
17220
17220
  postToParent2({
17221
17221
  type: "ow:ready",
17222
17222
  version: "1",
17223
- bridgeVersion: "0.1.60",
17223
+ bridgeVersion: "0.1.61",
17224
17224
  path: pathname,
17225
17225
  nodes: collectEditableNodes(editContentRef.current),
17226
17226
  sections