add completed actions to the top of the completed-items container instead of bottom. From #1148

This commit is contained in:
Reinier Balt 2011-04-20 11:39:30 +02:00
parent 4658ca8655
commit 423926337d

View file

@ -48,7 +48,7 @@ function remove_todo(next_steps) {
function add_to_completed_container(next_steps) {
<% unless current_user.prefs.hide_completed_actions? -%>
$('#<%= item_container_id(@todo) %>').append(html_for_todo());
$('#<%= item_container_id(@todo) %>').prepend(html_for_todo());
$("#empty-d").slideUp(100);
highlight_updated_todo(next_steps);
<% end -%>