mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Show animations, fix export only on server side (#3649)
fix #3644 so only on server side
This commit is contained in:
parent
76fac78909
commit
39ab651319
@ -27,6 +27,7 @@ _This release is scheduled to be released on 2025-01-01._
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- [core] Run code style checks in workflow only once.
|
- [core] Run code style checks in workflow only once.
|
||||||
|
- [core] fix animations export #3644 only on server side
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -155,4 +155,4 @@ function removeAnimateCSS (element, animation) {
|
|||||||
node.classList.remove("animate__animated", animationName);
|
node.classList.remove("animate__animated", animationName);
|
||||||
node.style.removeProperty("--animate-duration");
|
node.style.removeProperty("--animate-duration");
|
||||||
}
|
}
|
||||||
module.exports = { AnimateCSSIn, AnimateCSSOut };
|
if (typeof window === "undefined") module.exports = { AnimateCSSIn, AnimateCSSOut };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user