this happens all the time
This commit is contained in:
parent
cb606f942a
commit
66c5e46a78
|
@ -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 New Issue