瀏覽代碼

fix: a typo in the mutation.js (#1924)

* fix: a typo in the mutation.js

* Update run-tests.yml

* Update run-tests.yml
柱子 3 年之前
父節點
當前提交
c4e05492ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/alpinejs/src/mutation.js

+ 1 - 1
packages/alpinejs/src/mutation.js

@@ -139,7 +139,7 @@ function onMutate(mutations) {
 
     for (let node of addedNodes) {
        // If an element gets moved on a page, it's registered
-        // as both an "add" and "remove", so we wan't to skip those.
+        // as both an "add" and "remove", so we want to skip those.
         if (removedNodes.includes(node)) continue
 
         onElAddeds.forEach(i => i(node))