summaryrefslogtreecommitdiff
path: root/modules/user/js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-03-12 16:56:33 -0700
committerBharat Mediratta <bharat@menalto.com>2013-03-12 16:56:33 -0700
commit7cfbe3dc1f714ed3db502c94f37a5e816017937f (patch)
tree04967f7aed55c1c2f86a173045e65ef6291095f7 /modules/user/js
parent81ab98e46d321e2ec7ded4ceef3b02b142cfff00 (diff)
parent86a21cc88127ea44d47e708c7093aa236317609d (diff)
Merge pull request #210 from shadlaws/fix_2055_2056
#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).
Diffstat (limited to 'modules/user/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")