crowdAI/crowdai

View on GitHub
app/views/submissions/index.js.erb

Summary

Maintainability
Test Coverage
$(".load-more").remove();
$("table.submissions").append("<%= j render @submissions %>");
$("#more-anchor").after("<%= j render partial: 'shared/load_more', locals: { collection: @submissions } %>");
$('html, body').animate({
   scrollTop: $(document).height()-$(window).height()},
   1400,
   "easeOutQuint"
);