cubano,
document.addEventListener("click", function(e) {
var target = e.target, items = document.querySelectorAll(".u-fancy-load--in");
if(!items.length) return;
while (target != document) {
if (target.classList.contains("u-fancy-load") || target.hasAttribute("data-animation")) {
return;
}
target = target.parentNode;
}
[].forEach.call(items, function(el) {
el.classList.add("u-fancy-load--out")
el.classList.remove("u-fancy-load--in")
});
})