summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2013-10-15 11:36:44 +0530
committerraghunayyar <me@iraghu.com>2013-10-15 11:36:44 +0530
commit4eed2402967422d0a481a84a8bcc689668010289 (patch)
tree66c431510e142375fcdcb69a723cf135c72d2b27 /core
parente961dbaa38dc2a2a9abc620f1036d8d70d238cec (diff)
downloadnextcloud-server-4eed2402967422d0a481a84a8bcc689668010289.tar.gz
nextcloud-server-4eed2402967422d0a481a84a8bcc689668010289.zip
Should Display PasswordToggle Eye Everywhere.
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css1
-rw-r--r--core/js/js.js8
2 files changed, 1 insertions, 8 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 3e150152b56..1a521019d98 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -413,7 +413,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
#personal-show + label {
margin-top: 1em;
margin-left: -3em;
- display:inline !important;
}
#passwordbutton {
margin-left: .5em;
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]'));