Skip to content

Commit

Permalink
typo minimum X; thx @dalhundal; Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Apr 16, 2014
1 parent 4571ada commit 11e77cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masonry-horizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function masonryHorizontalDefinition( getSize, LayoutMode ) {
rowSpan = Math.min( rowSpan, this.rows );

var rowGroup = this._getRowGroup( rowSpan );
// get the minimum Y value from the rows
// get the minimum X value from the rows
var minimumX = Math.min.apply( Math, rowGroup );
var shortRowIndex = indexOf( rowGroup, minimumX );

Expand Down

0 comments on commit 11e77cb

Please sign in to comment.