diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-20 13:37:23 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-20 13:37:23 +0100 |
commit | 20b740f8e4674ab16f44127bc809a35b8db24910 (patch) | |
tree | cd0793b8d7f51efc0de3db6b242b79bdfe4ef585 /settings | |
parent | 92d57cb5a7de41e576c9cbd3fae70e9802561187 (diff) | |
download | nextcloud-server-20b740f8e4674ab16f44127bc809a35b8db24910.tar.gz nextcloud-server-20b740f8e4674ab16f44127bc809a35b8db24910.zip |
do not show display name on mobile when profile picture is present
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/personal.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index ef261b50bbc..5944272067b 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -52,9 +52,11 @@ function updateAvatar (hidedefault) { if(hidedefault) { $headerdiv.hide(); + $('#header .avatardiv').removeClass('avatardiv-shown'); } else { $headerdiv.css({'background-color': ''}); $headerdiv.avatar(OC.currentUser, 32, true); + $('#header .avatardiv').addClass('avatardiv-shown'); } $displaydiv.css({'background-color': ''}); $displaydiv.avatar(OC.currentUser, 128, true); |