Team:ETH Zurich/labblog/buttons
From 2014.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
$('.link-sort-list').click(function(e) { | $('.link-sort-list').click(function(e) { | ||
$("#sort-list article").sort(function (a, b) { | $("#sort-list article").sort(function (a, b) { | ||
- | return | + | return a.date > b.date; |
}).each(function(){ | }).each(function(){ | ||
var elem = $(this); | var elem = $(this); |