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,6 +1,4 @@
|
|||
|
||||
{{$live_update nofilter}}
|
||||
|
||||
{{foreach $threads as $thread}}
|
||||
<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper">
|
||||
{{foreach $thread.items as $item}}
|
||||
|
@ -18,7 +16,7 @@
|
|||
{{/foreach}}
|
||||
</div>
|
||||
{{/foreach}}
|
||||
|
||||
{{if !$update}}
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{{if $dropping}}
|
||||
|
@ -28,3 +26,4 @@
|
|||
</div>
|
||||
<div id="item-delete-selected-end"></div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
|
||||
{{$live_update nofilter}}
|
||||
|
||||
{{foreach $threads as $thread}}
|
||||
{{include file="{{$thread.template}}" item=$thread}}
|
||||
{{/foreach}}
|
||||
|
||||
{{if !$update}}
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{{if $dropping}}
|
||||
|
@ -15,3 +13,4 @@
|
|||
<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
|
||||
<div id="item-delete-selected-end"></div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue