summaryrefslogtreecommitdiff
path: root/modules/user/js/password_strength.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/js/password_strength.js')
-rw-r--r--modules/user/js/password_strength.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/js/password_strength.js b/modules/user/js/password_strength.js
index 5764e332..c5fccc68 100644
--- a/modules/user/js/password_strength.js
+++ b/modules/user/js/password_strength.js
@@ -11,7 +11,7 @@
_init: function() {
var self = this;
- $(this.element).keyup(function() {
+ $(this.element).on("input keyup", function() {
var strength = self.calculateStrength(this.value);
var index = Math.min(Math.floor(strength / 10), 10);
$("#g-password-gauge")