diff --git a/javascript/updatable/inner_updates_compat.js b/javascript/updatable/inner_updates_compat.js index 84d70d34..0b24ae99 100644 --- a/javascript/updatable/inner_updates_compat.js +++ b/javascript/updatable/inner_updates_compat.js @@ -38,7 +38,9 @@ export const registerInnerUpdates = () => { const recursiveMarkUpdatesForElements = leaf => { const closestUpdatesFor = - leaf && leaf.parentElement && leaf.parentElement.closest('updates-for') + leaf && + leaf.parentElement && + leaf.parentElement.closest('cable-ready-updates-for') if (closestUpdatesFor) { closestUpdatesFor.setAttribute('performing-inner-update', '') recursiveMarkUpdatesForElements(closestUpdatesFor) @@ -47,7 +49,9 @@ const recursiveMarkUpdatesForElements = leaf => { const recursiveUnmarkUpdatesForElements = leaf => { const closestUpdatesFor = - leaf && leaf.parentElement && leaf.parentElement.closest('updates-for') + leaf && + leaf.parentElement && + leaf.parentElement.closest('cable-ready-updates-for') if (closestUpdatesFor) { closestUpdatesFor.removeAttribute('performing-inner-update') recursiveUnmarkUpdatesForElements(closestUpdatesFor)