diff options
author | kondou <kondou@ts.unde.re> | 2014-03-12 15:42:29 +0100 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-03-12 15:42:29 +0100 |
commit | 8fafee31efd9cb8126cc82017b6bb2d614d9b977 (patch) | |
tree | e14bdb69f66eb7a87c1db5cd6c86b80ffb4c743f /settings/js | |
parent | dd97d532beda0a32121f3faa2fae92508284a326 (diff) | |
download | nextcloud-server-8fafee31efd9cb8126cc82017b6bb2d614d9b977.tar.gz nextcloud-server-8fafee31efd9cb8126cc82017b6bb2d614d9b977.zip |
Use $.hide() instead of .hidden for now
.inlineblock ranks higher than .hidden
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/personal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index fe8c21aa4f1..f502037cfda 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -61,7 +61,7 @@ function updateAvatar (hidedefault) { $displaydiv.css({'background-color': ''}); $displaydiv.avatar(OC.currentUser, 128, true); - $('#removeavatar').removeClass('hidden'); + $('#removeavatar').show(); } function showAvatarCropper() { @@ -258,7 +258,7 @@ $(document).ready(function(){ url: OC.generateUrl('/avatar/'), success: function(msg) { updateAvatar(true); - $('#removeavatar').addClass('hidden'); + $('#removeavatar').hide(); } }); }); @@ -290,7 +290,7 @@ $(document).ready(function(){ ) + '?requesttoken=' + oc_requesttoken; $.get(url, function(result) { if (typeof(result) === 'object') { - $('#removeavatar').addClass('hidden'); + $('#removeavatar').hide(); } }); } ); |