Skip to content

Commit

Permalink
changed default order of questions to chronological. order by time
Browse files Browse the repository at this point in the history
  • Loading branch information
naroditskiy committed Apr 30, 2015
1 parent 6934a2a commit 1c70f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/crisis/one.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ <h4 class="modal-title">Share link</h4>
$(function(){

rearrange_children($('.crisis-questions'), function(a,b){
return $(b).data('date') - $(a).data('date') ;
return new Date($(b).data('date')) - new Date($(a).data('date')) ;
});


Expand Down

0 comments on commit 1c70f6c

Please sign in to comment.