Explorar o código

Removed non breaking space, gives issues in webpack where it may be transformed into el.setAttribute('style', cache || '') (#2711)

Tschallacka %!s(int64=3) %!d(string=hai) anos
pai
achega
c10f76f8b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/alpinejs/src/utils/styles.js

+ 1 - 1
packages/alpinejs/src/utils/styles.js

@@ -41,7 +41,7 @@ function setStylesFromString(el, value) {
     el.setAttribute('style', value)
     el.setAttribute('style', value)
 
 
     return () => {
     return () => {
-        el.setAttribute('style', cache || '')
+        el.setAttribute('style', cache || '')
     }
     }
 }
 }