diff --git a/jquery.flex-images.js b/jquery.flex-images.js index 935a718..742319c 100644 --- a/jquery.flex-images.js +++ b/jquery.flex-images.js @@ -48,7 +48,7 @@ var margins_in_row = row.length * o.margin; ratio = (max_w-margins_in_row) / (row_width-margins_in_row), row_h = Math.ceil(o.rowHeight*ratio), exact_w = 0, new_w; for (x=0; x max_w) new_w -= exact_w - max_w + 1; _helper();