this happens all the time

This commit is contained in:
Georg G 2015-02-12 22:10:50 +01:00
parent cb606f942a
commit 66c5e46a78
1 changed files with 1 additions and 1 deletions

View File

@ -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();