From 4eed2402967422d0a481a84a8bcc689668010289 Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Tue, 15 Oct 2013 11:36:44 +0530 Subject: Should Display PasswordToggle Eye Everywhere. --- core/js/js.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'core/js') diff --git a/core/js/js.js b/core/js/js.js index b7f7ff1ac15..5178a26e15d 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -747,14 +747,8 @@ $(document).ready(function(){ var setShowPassword = function(input, label) { input.showPassword().keyup(function(){ - if (input.val().length == 0) { - label.hide(); - } - else { - label.css("display", "inline").show(); - } + label.css("display", "inline").show(); }); - label.hide(); }; setShowPassword($('#adminpass'), $('label[for=show]')); setShowPassword($('#pass2'), $('label[for=personal-show]')); -- cgit v1.2.3