summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js8
1 files changed, 1 insertions, 7 deletions
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]'));