Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Apr 30, 2012
2 parents 7c0c303 + ea57e8c commit d67f9b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _posts/docs/2011-05-02-options.mdown
Expand Up @@ -76,7 +76,7 @@ $('#container').masonry({
## containerStyle

<dl class="clearfix">
<dt><code>columnWidth</code></dt>
<dt><code>containerStyle</code></dt>
<dd class="option-type">Object</dd>
<dd class="default"><code>{ position: <span class="s1">'relative'</span> }</code></dd>
</dl>
Expand Down
5 changes: 2 additions & 3 deletions jquery.masonry.js
@@ -1,5 +1,5 @@
/**
* jQuery Masonry v2.1.04
* jQuery Masonry v2.1.05
* A dynamic layout plugin for jQuery
* The flip-side of CSS Floats
* http://masonry.desandro.com
Expand Down Expand Up @@ -243,8 +243,7 @@
colSpan, groupCount, groupY, groupColY, j;

//how many columns does this brick span
colSpan = Math.ceil( $brick.outerWidth(true) /
( this.columnWidth + this.options.gutterWidth ) );
colSpan = Math.ceil( $brick.outerWidth(true) / this.columnWidth );
colSpan = Math.min( colSpan, this.cols );

if ( colSpan === 1 ) {
Expand Down
4 changes: 2 additions & 2 deletions jquery.masonry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d67f9b1

Please sign in to comment.