Browse Source

indexSorter -> originalOrderSorter

pull/14/head
David DeSandro 14 years ago
parent
commit
ee7850cd26
  1. 4
      src/jquery.molequul.js

4
src/jquery.molequul.js

@ -439,12 +439,12 @@
props.positionFn = props.usingTransforms ? $.molequul.translate : $.molequul.positionAbs;
// sorting
var indexSorter = {
var originalOrderSorter = {
'original-order' : function( $elem ) {
return props.elemCount;
}
};
props.opts.getSortData = $.extend( indexSorter, props.opts.getSortData );
props.opts.getSortData = $.extend( originalOrderSorter, props.opts.getSortData );
props.atoms.$all.molequul( 'setupAtoms', props );

Loading…
Cancel
Save