Turn show comments element into a full-fledged button
This commit is contained in:
parent
e0241c36ef
commit
dbc4e52fc4
3 changed files with 17 additions and 29 deletions
|
@ -2,14 +2,14 @@
|
|||
{{else}}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
{{if $item.thread_level<3}}
|
||||
<div class="hide-comments-outer fakelink" onclick="showHideComments({{$item.id}});">
|
||||
<button type="button" class="hide-comments-outer fakelink" onclick="showHideComments({{$item.id}});">
|
||||
<span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">
|
||||
{{$item.num_comments}} - {{$item.show_text}}
|
||||
</span>
|
||||
<span id="hide-comments-{{$item.id}}" class="hide-comments" style="display: none">
|
||||
{{$item.num_comments}} - {{$item.hide_text}}
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
<div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{else}}
|
||||
<div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: block;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue