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 parseInt(a.date) > parseInt(b.date);
+
     return a.date > b.date;
}).each(function(){
}).each(function(){
     var elem = $(this);
     var elem = $(this);

Revision as of 16:45, 28 August 2014

View all Lab Weekly Meetings Modeling
Oldest Newest