]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo [ci skip] (#547)
authordjy0 <krivergo3@gmail.com>
Wed, 18 Dec 2019 16:45:28 +0000 (00:45 +0800)
committerEvan You <yyx990803@gmail.com>
Wed, 18 Dec 2019 16:45:28 +0000 (11:45 -0500)
packages/runtime-dom/src/modules/class.ts

index 92f4f0887f4b44c38fa87bba4f2889bae23d8f3a..e81d7fe74b6844d90f7c47b3183d1162c44b5d0b 100644 (file)
@@ -12,9 +12,9 @@ export function patchClass(el: Element, value: string | null, isSVG: boolean) {
   } else {
     // if this is an element during a transition, take the temporary transition
     // classes into account.
-    const transtionClasses = (el as ElementWithTransition)._vtc
-    if (transtionClasses) {
-      value = [value, ...transtionClasses].join(' ')
+    const transitionClasses = (el as ElementWithTransition)._vtc
+    if (transitionClasses) {
+      value = [value, ...transitionClasses].join(' ')
     }
     el.className = value
   }