Change text for submenu on small screens to be static toggle statement

This commit is contained in:
Andrew Manning 2016-08-14 06:55:02 -04:00
parent cb9ac6dd34
commit 229cc2ac43
2 changed files with 2 additions and 1 deletions

View File

@ -1246,6 +1246,7 @@ function status_editor($a, $x, $popup = false) {
'$feature_voting' => $feature_voting, '$feature_voting' => $feature_voting,
'$consensus' => 0, '$consensus' => 0,
'$nocommenttitle' => t('Disable comments'), '$nocommenttitle' => t('Disable comments'),
'$nocommenttitlesub' => t('Toggle comments'),
'$feature_nocomment' => $feature_nocomment, '$feature_nocomment' => $feature_nocomment,
'$nocomment' => 0, '$nocomment' => 0,
'$clearloc' => $clearloc, '$clearloc' => $clearloc,

View File

@ -158,7 +158,7 @@
<li><a href="#" onclick="toggleVoting(); return false;"><i id="profile-voting-sub" class="fa fa-square-o"></i>&nbsp;{{$voting}}</a></li> <li><a href="#" onclick="toggleVoting(); return false;"><i id="profile-voting-sub" class="fa fa-square-o"></i>&nbsp;{{$voting}}</a></li>
{{/if}} {{/if}}
{{if $feature_nocomment}} {{if $feature_nocomment}}
<li><a href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i>&nbsp;{{$nocommenttitle}}</a></li> <li><a href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i>&nbsp;{{$nocommenttitlesub}}</a></li>
{{/if}} {{/if}}
</ul> </ul>
</div> </div>