Commit 018f76bb

mo khan <mo@mokhan.ca>
2014-09-02 17:05:47
hide the pagination links when starting the infinite scroll.
1 parent dc7b5e4
Changed files (2)
app/views/creations/index.html.erb
@@ -29,6 +29,6 @@
   <%= render partial: 'index' %>
 </div>
 
-<div class="row-fluid">
+<div id='pagination-row' class="row-fluid">
   <%= render "shared/paging", items: @creations %>
 </div>
app/views/creations/index.js.erb
@@ -1,3 +1,4 @@
-$('#more-button-row').remove()
+$('#more-button-row').remove();
+$('#pagination-row').remove();
 $('#bakery').append('<%= j render partial: 'index' %>');
 history.pushState({ }, "page <%= params[:page] %>", "<%= paginate_creations_path(page: params[:page]) %>");