mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-04-01 16:12:13 +02: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|
|
$('#entries').append('<% @inbox.each do |i|
|
||||||
%><%= j render 'inbox/entry', i: i
|
%><%= j render 'inbox/entry', i: i
|
||||||
%><% end %>');
|
%><% end %>');
|
||||||
<% if @timeline.next_page %>
|
<% if @inbox.next_page %>
|
||||||
$('#pagination').html('<%= j will_paginate @inbox, renderer: BootstrapPagination::Rails, page_links: false %>');
|
$('#pagination').html('<%= j will_paginate @inbox, renderer: BootstrapPagination::Rails, page_links: false %>');
|
||||||
<% else %>
|
<% else %>
|
||||||
$('#pagination, #load-more-btn').remove();
|
$('#pagination, #load-more-btn').remove();
|
||||||
|
|
Loading…
Reference in a new issue