Skip to content

Commit 1ca12ab

Browse files
pleunvmichael-ciniawsky
authored andcommitted
fix(addStyles): use var instead of const (IE fix) (#338)
1 parent e973fe2 commit 1ca12ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/addStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function createStyleElement (options) {
209209
}
210210

211211
if(options.attrs.nonce === undefined) {
212-
const nonce = getNonce();
212+
var nonce = getNonce();
213213
if (nonce) {
214214
options.attrs.nonce = nonce;
215215
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy