Skip to content

Commit

Permalink
src : _getColumns doesn't need an argument
Browse files Browse the repository at this point in the history
leftover from Isotope copy/paste
  • Loading branch information
desandro committed Oct 16, 2011
1 parent 9165b84 commit e72dcf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions jquery.masonry.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery Masonry v2.0.110927
* jQuery Masonry v2.0.111015
* A dynamic layout plugin for jQuery
* The flip-side of CSS Floats
* http://masonry.desandro.com
Expand Down Expand Up @@ -149,7 +149,7 @@
// _init fires when instance is first created
// and when instance is triggered again -> $el.masonry();
_init : function( callback ) {
this._getColumns('masonry');
this._getColumns();
this._reLayout( callback );
},

Expand Down Expand Up @@ -293,7 +293,7 @@
resize : function() {
var prevColCount = this.cols;
// get updated colCount
this._getColumns('masonry');
this._getColumns();
if ( this.cols !== prevColCount ) {
// if column count has changed, trigger new layout
this._reLayout();
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 e72dcf1

Please sign in to comment.