mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 23:29:59 +01:00
this happens all the time
This commit is contained in:
parent
cb606f942a
commit
66c5e46a78
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
$('#entries').append('<% @inbox.each do |i|
|
||||
%><%= j render 'inbox/entry', i: i
|
||||
%><% end %>');
|
||||
<% if @timeline.next_page %>
|
||||
<% if @inbox.next_page %>
|
||||
$('#pagination').html('<%= j will_paginate @inbox, renderer: BootstrapPagination::Rails, page_links: false %>');
|
||||
<% else %>
|
||||
$('#pagination, #load-more-btn').remove();
|
||||
|
|
Loading…
Reference in a new issue