Show
Ignore:
Timestamp:
04/02/11 15:57:55 (2 years ago)
Author:
patdenice
Message:

Minor bug corrected

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/regenerateThumbnails/regenerate_thumbnails.tpl

    r9959 r9993  
    287287  }); 
    288288 
    289   var max_dim = 0; 
     289  var max_dim = 20; 
    290290  $(".thumbnails img").each(function () { 
    291     if ($(this).height() > max_dim) 
     291    if ($(this).height() > (max_dim-20)) 
    292292      max_dim = $(this).height() + 20; 
    293293    if ($(this).width() > max_dim)