aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/static/new/javascript/password_strength.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/wqflask/static/new/javascript/password_strength.js b/wqflask/wqflask/static/new/javascript/password_strength.js
index 59fe8584..a8a45f7d 100644
--- a/wqflask/wqflask/static/new/javascript/password_strength.js
+++ b/wqflask/wqflask/static/new/javascript/password_strength.js
@@ -1,5 +1,4 @@
// Generated by CoffeeScript 1.8.0
-// edited by alex date on 28/01/2021
$(function() {
var word_score;
@@ -52,7 +51,7 @@ $(function() {
}
}
- mappingResult = `<strong style="color:${passwordFeedback[num_score].color};">${passwordFeedback[num_score].feedback}</strong>`
+ let mappingResult = `<strong style="color:${passwordFeedback[num_score].color};">${passwordFeedback[num_score].feedback}</strong>`
return mappingResult;
};
});