Skip to content

Commit 1ca12ab

Browse files
pleunvmichael-ciniawsky
authored andcommittedAug 8, 2018
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

+1-1
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)
Please sign in to comment.