summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2013-10-15 14:41:18 +0530
committerraghunayyar <me@iraghu.com>2013-10-15 14:41:18 +0530
commit2def1a8853c68afc0d1adc9f4c89d09387f27c9c (patch)
treef6650c48e6c17d0c7fb8b03846eb05ceefa3d722 /core/js/js.js
parent4eed2402967422d0a481a84a8bcc689668010289 (diff)
downloadnextcloud-server-2def1a8853c68afc0d1adc9f4c89d09387f27c9c.tar.gz
nextcloud-server-2def1a8853c68afc0d1adc9f4c89d09387f27c9c.zip
Removes Bogus showpassword js. thx @PVince81
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 5178a26e15d..c17e3fa2959 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]'));