summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-10-23 23:51:05 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-10-23 23:51:05 +0200
commita10b25587f938b80c6e8c2efd1493c0036f3cb2e (patch)
treef8d20a954b4841d8516a09dbcf2bb86a93162ec9 /core
parent729dffed5ec924492962a41b4697ca05ad40da79 (diff)
downloadnextcloud-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.php2
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; ?>