Permalink
Browse files

Timeline bug fixed

  • Loading branch information...
1 parent b44e410 commit 92eae7f01269c2db9fbbe0be8a5d916ae7a6d981 @danieleguido danieleguido committed Feb 22, 2013
Showing with 2 additions and 6 deletions.
  1. +2 −6 static/js/outside/enq_timeline.js
@@ -29,9 +29,7 @@ oo.enq.timeline.update = function( event, filters ){
return format.parse(d.date).getFullYear()
},
function (a, b){
- var _a = a.key;
- var _b = b.key;
- return _a < _b ? 1 : _a > _b ? -1 : 0 }
+ return a.key < b.key ? -1 : a.key > b.key ? 1 : 0 }
);
// Set variables
@@ -86,9 +84,7 @@ oo.enq.timeline.init = function( objects ){
return format.parse(d.date).getFullYear()
},
function (a, b){
- var _a = a.key;
- var _b = b.key;
- return _a < _b ? 1 : _a > _b ? -1 : 0 }
+ return a.key < b.key ? -1 : a.key > b.key ? 1 : 0 }
);
oo.log('nest', nest)

0 comments on commit 92eae7f

Please sign in to comment.