Improved comment hiding interaction
- Remove global window.showMore and window.showFewer - Improve global showHideComments function - Remove frio-specific showHideComments function
This commit is contained in:
parent
642f9409a7
commit
d7dbc632f8
11 changed files with 47 additions and 60 deletions
|
@ -2,12 +2,13 @@
|
|||
{{else}}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
{{if $item.thread_level<3}}
|
||||
<div class="hide-comments-outer">
|
||||
<span id="hide-comments-total-{{$item.id}}"
|
||||
class="hide-comments-total">{{$item.num_comments}}</span>
|
||||
<span id="hide-comments-{{$item.id}}"
|
||||
class="hide-comments fakelink"
|
||||
onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span>
|
||||
<div 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>
|
||||
<div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{else}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue