Skip to content

Commit

Permalink
fix(addStyles): use var instead of const (IE fix) (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
pleunv authored and michael-ciniawsky committed Aug 8, 2018
1 parent e973fe2 commit 1ca12ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/addStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function createStyleElement (options) {
}

if(options.attrs.nonce === undefined) {
const nonce = getNonce();
var nonce = getNonce();
if (nonce) {
options.attrs.nonce = nonce;
}
Expand Down

0 comments on commit 1ca12ab

Please sign in to comment.