Only auto update when there is content
This commit is contained in:
parent
74305b3dc8
commit
1fc36c4470
8 changed files with 20 additions and 19 deletions
|
@ -1,5 +1,4 @@
|
|||
{{$live_update nofilter}}
|
||||
|
||||
{{foreach $threads as $thread}}
|
||||
<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper">
|
||||
{{foreach $thread.items as $item}}
|
||||
|
@ -23,7 +22,7 @@
|
|||
{{/foreach}}
|
||||
</div>
|
||||
{{/foreach}}
|
||||
|
||||
{{if !$update}}
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{{if $dropping}}
|
||||
|
@ -46,4 +45,4 @@
|
|||
$('#item-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);
|
||||
</script>
|
||||
{{/if}}
|
||||
|
||||
{{/if}}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{{$live_update nofilter}}
|
||||
|
||||
{{foreach $threads as $thread}}
|
||||
|
||||
<div id="tread-wrapper-{{$thread.uriid}}" class="tread-wrapper {{if $thread.threaded}}threaded{{/if}} {{$thread.toplevel}} {{if $thread.toplevel}} h-entry {{else}} u-comment h-cite {{/if}} {{$thread.network}}">
|
||||
|
@ -13,7 +12,7 @@
|
|||
|
||||
</div>
|
||||
{{/foreach}}
|
||||
|
||||
{{if !$update}}
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{{if $dropping}}
|
||||
|
@ -37,4 +36,4 @@
|
|||
$('#item-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);
|
||||
</script>
|
||||
{{/if}}
|
||||
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue