Permalink
Browse files

Fix reverse image list problem. Changed dynamic lineheight processing.

  • Loading branch information...
1 parent 80a0202 commit 42dfb868ea3d3a6677af17b8fc19ad57f98339c7 @creotiv committed May 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery-photowall/jquery-photowall.js
@@ -100,7 +100,7 @@ var PhotoWall = {
init: function(op) {
PhotoWall.options = $.extend(PhotoWall.options,op);
-
+ PhotoWall.options.baseScreenHeight = $(window).height();
PhotoWall._el = op.el+' .body';
PhotoWall._c_width = $(PhotoWall._el).width()-getScrollBarWidth();
PhotoWall._c_height = $(PhotoWall._el).height();
@@ -226,7 +226,7 @@ var PhotoWall = {
}
t = addImage(line[k].id,PhotoWall.options.padding,w,h,line[k].img,line[k].th.src);
- ln.prepend(t);
+ ln.append(t);
}
return t;
};/* End of showLine() */

0 comments on commit 42dfb86

Please sign in to comment.