I have got the following code:
if ($newCardLoader != null) {
$cardsContainer.animate({
maxHeight: futureHeight + "px"
}, 500, "ease", function() {
$cardsContainer.classList.remove("clamp-height-large");
$cardsContainer.classList.add("clamp-height-fit");
console.log("done");
});
}
The log and the style changes just don't happen. I have seen several posts on this topic and followed all of them.
To me, it seems correct. Hope somebody can help be out!
Via Active questions tagged javascript - Stack Overflow https://ift.tt/3dmnzlp
Comments
Post a Comment