Hello,
Please refer to the following code at Templates/Designs/Swift/Assets/_src/js/_favorites.js
var clickedButton = e.currentTarget != undefined ? e.currentTarget : document.querySelector('#' + e); var form = e.currentTarget != undefined ? clickedButton.closest('form') : document.querySelector('#' + e);
document.querySelector does not handle dots pretty well. If the selector is for example FavoriteToggleForm_101241UVO48.UVO339.UVO164.UVO55 the querySelector will return a null value.
Let me know if a video is needed.
Thank you