Fix maintaining last sort object when called without arguments.

pull/56/head
Glen Cheney 10 years ago
parent 930a4bf3bb
commit 1abab75943

@ -1261,7 +1261,7 @@ Shuffle.prototype.sort = function( opts ) {
this._layout( items );
this.lastSort = opts;
this.lastSort = sortOptions;
}
};

@ -1267,7 +1267,7 @@ Shuffle.prototype.sort = function( opts ) {
this._layout( items );
this.lastSort = opts;
this.lastSort = sortOptions;
}
};

@ -1244,7 +1244,7 @@ Shuffle.prototype.sort = function( opts ) {
this._layout( items );
this.lastSort = opts;
this.lastSort = sortOptions;
}
};

Loading…
Cancel
Save