Browse Source

src : remove extra x & y vars in fit layout modes (minor)

pull/96/head
David DeSandro 14 years ago
parent
commit
f070925fb4
  1. 6
      jquery.isotope.js
  2. 2
      jquery.isotope.min.js

6
jquery.isotope.js

@ -897,8 +897,7 @@
$elems.each( function() {
var $this = $(this),
atomW = $this.outerWidth(true),
atomH = $this.outerHeight(true),
x, y;
atomH = $this.outerHeight(true);
if ( props.x !== 0 && atomW + props.x > containerWidth ) {
// if this element cannot fit in the current row
@ -1083,8 +1082,7 @@
$elems.each( function() {
var $this = $(this),
atomW = $this.outerWidth(true),
atomH = $this.outerHeight(true),
x, y;
atomH = $this.outerHeight(true);
if ( props.y !== 0 && atomH + props.y > containerHeight ) {
// if this element cannot fit in the current column

2
jquery.isotope.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save