Procházet zdrojové kódy

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

Tschallacka před 3 roky
rodič
revize
c10f76f8b9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 || '')
     }
     }
 }
 }