Browse Source

Revert change

Caleb Porzio 2 years ago
parent
commit
8c9786d1ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/morph/src/morph.js

+ 1 - 1
packages/morph/src/morph.js

@@ -123,7 +123,7 @@ export function morph(from, toHtml, options) {
             let value = toAttributes[i].value
 
             if (from.getAttribute(name) !== value) {
-                from.setAttribute(name.replace(/^@/,Alpine.prefixed('on:')), value)
+                from.setAttribute(name, value)
             }
         }
     }