$displaydiv.css({'background-color': ''});
$displaydiv.avatar(OC.currentUser, 128, true);
- $('#removeavatar').removeClass('hidden');
+ $('#removeavatar').show();
}
function showAvatarCropper() {
url: OC.generateUrl('/avatar/'),
success: function(msg) {
updateAvatar(true);
- $('#removeavatar').addClass('hidden');
+ $('#removeavatar').hide();
}
});
});
) + '?requesttoken=' + oc_requesttoken;
$.get(url, function(result) {
if (typeof(result) === 'object') {
- $('#removeavatar').addClass('hidden');
+ $('#removeavatar').hide();
}
});
} );