Skip to content

Commit da3c5f1

Browse files
committed
fix: fix classname typo
1 parent 435243c commit da3c5f1

File tree

1 file changed

+4
-4
lines changed
  • packages/uikit-workshop/src/scripts/lit-components/pl-viewport

1 file changed

+4
-4
lines changed

packages/uikit-workshop/src/scripts/lit-components/pl-viewport/pl-viewport.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ class IFrame extends BaseLitComponent {
152152
// @todo: refactor to better handle the iframe async rendering
153153
if (this.iframe) {
154154
if (animate === true) {
155-
this.iframeContainer.classList.add('is-animate');
156-
this.iframe.classList.add('is-animate');
155+
this.iframeContainer.classList.add('is-animating');
156+
this.iframe.classList.add('is-animating');
157157
}
158158

159159
if (size < maxViewportWidth) {
@@ -178,8 +178,8 @@ class IFrame extends BaseLitComponent {
178178
// auto-remove transition classes if not the animate param isn't set to true
179179
setTimeout(function() {
180180
if (animate === true) {
181-
self.iframeContainer.classList.remove('vp-animate');
182-
self.iframe.classList.remove('vp-animate');
181+
self.iframeContainer.classList.remove('is-animating');
182+
self.iframe.classList.remove('is-animating');
183183
}
184184
}, 800);
185185

0 commit comments

Comments
 (0)