From 2def1a8853c68afc0d1adc9f4c89d09387f27c9c Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Tue, 15 Oct 2013 14:41:18 +0530 Subject: [PATCH] Removes Bogus showpassword js. thx @PVince81 --- core/js/js.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/js/js.js b/core/js/js.js index 5178a26e15..c17e3fa295 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -746,9 +746,7 @@ $(document).ready(function(){ }); var setShowPassword = function(input, label) { - input.showPassword().keyup(function(){ - label.css("display", "inline").show(); - }); + input.showPassword().keyup(); }; setShowPassword($('#adminpass'), $('label[for=show]')); setShowPassword($('#pass2'), $('label[for=personal-show]'));