]> source.dussan.org Git - nextcloud-server.git/commitdiff
Should Display PasswordToggle Eye Everywhere.
authorraghunayyar <me@iraghu.com>
Tue, 15 Oct 2013 06:06:44 +0000 (11:36 +0530)
committerraghunayyar <me@iraghu.com>
Tue, 15 Oct 2013 06:06:44 +0000 (11:36 +0530)
core/css/styles.css
core/js/js.js

index 3e150152b561267590e2f54ce8a3baf9497cb055..1a521019d98c68734c6d87c99794eec05fb146a0 100644 (file)
@@ -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;
index b7f7ff1ac15b53ac86ffbd7e0c761abe3ad655ee..5178a26e15d30f522a3f898007239a149c6943cb 100644 (file)
@@ -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]'));