diff --git a/lib/addStyles.js b/lib/addStyles.js index 3f443a4b..077a368f 100644 --- a/lib/addStyles.js +++ b/lib/addStyles.js @@ -209,7 +209,7 @@ function createStyleElement (options) { } if(options.attrs.nonce === undefined) { - const nonce = getNonce(); + var nonce = getNonce(); if (nonce) { options.attrs.nonce = nonce; }