|
|
@ -578,7 +578,9 @@ |
|
|
|
$.extend( $.Isotope.prototype, { |
|
|
|
$.extend( $.Isotope.prototype, { |
|
|
|
|
|
|
|
|
|
|
|
_fitRowsLayout : function( $elems ) { |
|
|
|
_fitRowsLayout : function( $elems ) { |
|
|
|
|
|
|
|
this.width = this.element.width(); |
|
|
|
var instance = this; |
|
|
|
var instance = this; |
|
|
|
|
|
|
|
|
|
|
|
return $elems.each( function() { |
|
|
|
return $elems.each( function() { |
|
|
|
var $this = $(this), |
|
|
|
var $this = $(this), |
|
|
|
atomW = $this.outerWidth(true), |
|
|
|
atomW = $this.outerWidth(true), |
|
|
@ -616,7 +618,6 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_fitRowsResize : function() { |
|
|
|
_fitRowsResize : function() { |
|
|
|
this.width = this.element.width(); |
|
|
|
|
|
|
|
return this.reLayout() |
|
|
|
return this.reLayout() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|