mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Show animations, fix export only on server side (#3649)
fix #3644 so only on server side
This commit is contained in:
@@ -155,4 +155,4 @@ function removeAnimateCSS (element, animation) {
|
||||
node.classList.remove("animate__animated", animationName);
|
||||
node.style.removeProperty("--animate-duration");
|
||||
}
|
||||
module.exports = { AnimateCSSIn, AnimateCSSOut };
|
||||
if (typeof window === "undefined") module.exports = { AnimateCSSIn, AnimateCSSOut };
|
||||
|
Reference in New Issue
Block a user