add avatardiv-shown class to bring back mobile style

This commit is contained in:
Morris Jobke 2014-10-23 23:51:05 +02:00
parent 729dffed5e
commit a10b25587f
1 changed files with 1 additions and 1 deletions

View File

@ -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; ?>