Changeset 9993


Ignore:
Timestamp:
Apr 2, 2011, 3:57:55 PM (13 years ago)
Author:
patdenice
Message:

Minor bug corrected

File:
1 edited

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)
Note: See TracChangeset for help on using the changeset viewer.