diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-10-23 23:51:05 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-10-23 23:51:05 +0200 |
commit | a10b25587f938b80c6e8c2efd1493c0036f3cb2e (patch) | |
tree | f8d20a954b4841d8516a09dbcf2bb86a93162ec9 /core | |
parent | 729dffed5ec924492962a41b4697ca05ad40da79 (diff) | |
download | nextcloud-server-a10b25587f938b80c6e8c2efd1493c0036f3cb2e.tar.gz nextcloud-server-a10b25587f938b80c6e8c2efd1493c0036f3cb2e.zip |
add avatardiv-shown class to bring back mobile style
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/layout.user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 09630435b77..d0c6f9c38f5 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -67,7 +67,7 @@ <div id="settings" class="svg"> <div id="expand" tabindex="0" role="link"> <?php if ($_['enableAvatars']): ?> - <div class="avatardiv"<?php if (!$_['userAvatarSet']) { print_unescaped(' style="display: none"'); } ?>> + <div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown"'); } else { print_unescaped('" style="display: none"'); } ?>> <?php if ($_['userAvatarSet']): ?> <img src="<?php p(link_to('', 'index.php').'/avatar/'.$_['user_uid'].'/32?requesttoken='.$_['requesttoken']); ?>"> <?php endif; ?> |