diff options
-rw-r--r-- | jquery.strengthify.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.strengthify.js b/jquery.strengthify.js index 06bc38e..16f7468 100644 --- a/jquery.strengthify.js +++ b/jquery.strengthify.js @@ -211,7 +211,7 @@ var script = document.createElement("script"); script.src = options.zxcvbn; if (options.nonce !== null) { - script.nonce = options.nonce; + script.setAttribute('nonce', options.nonce); } document.head.appendChild(script); |