Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/strengthify.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jquery.strengthify.js2
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);