From 680dcddc04535468434294dd585601ca836a2bd5 Mon Sep 17 00:00:00 2001 From: David Wick Date: Mon, 5 Jan 2015 18:36:12 -0800 Subject: [PATCH] Fix text for password field on register.compact not appearing Strength meter relies css/events from restyled login. This ensures it's there before trying to add the meter. --- r2/r2/public/static/js/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/public/static/js/login.js b/r2/r2/public/static/js/login.js index e458c3ff3..39b6e4b5b 100644 --- a/r2/r2/public/static/js/login.js +++ b/r2/r2/public/static/js/login.js @@ -287,7 +287,7 @@ r.ui.RegisterForm = function() { } this.$el.find('[name="passwd2"]').on('keyup', $.proxy(this, 'checkPasswordMatch')); - this.$el.find('[name="passwd"]') + this.$el.find('[name="passwd"][data-validate-url]') .strengthMeter({ username: '#user_reg', delay: 0,