Browse Source

fix typo in comment (#5411)

schoonc 9 năm trước cách đây
mục cha
commit
9c3e96f757
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/platforms/web/runtime/directives/model.js

+ 1 - 1
src/platforms/web/runtime/directives/model.js

@@ -32,7 +32,7 @@ export default {
       el._vModifiers = binding.modifiers
       if (!binding.modifiers.lazy) {
         // Safari < 10.2 & UIWebView doesn't fire compositionend when
-        // siwtching focus before confirming composition choice
+        // switching focus before confirming composition choice
         // this also fixes the issue where some browsers e.g. iOS Chrome
         // fires "change" instead of "input" on autocomplete.
         el.addEventListener('change', onCompositionEnd)