Skip to content
Snippets Groups Projects
Commit 8fafee31 authored by Christopher Schäpers's avatar Christopher Schäpers
Browse files

Use $.hide() instead of .hidden for now

.inlineblock ranks higher than .hidden
parent dd97d532
Branches
No related tags found
No related merge requests found
......@@ -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();
}
});
} );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment