From 14dc36efe6326d1f626a41c4295f570a729d57ae Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 7 Oct 2015 15:58:37 +0200 Subject: Properly hide strengthify after password change --- core/vendor/strengthify/jquery.strengthify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/vendor/strengthify/jquery.strengthify.js b/core/vendor/strengthify/jquery.strengthify.js index 21f5fa82956..4fcc4d7c7c4 100644 --- a/core/vendor/strengthify/jquery.strengthify.js +++ b/core/vendor/strengthify/jquery.strengthify.js @@ -58,7 +58,7 @@ dataType: 'script', url: options.zxcvbn }).done(function() { - me.bind('keyup input', function() { + me.bind('keyup input change', function() { var password = $(this).val(), // hide strengthigy if no input is provided opacity = (password === '') ? 0 : 1, -- cgit v1.2.3