Ignore:
Timestamp:
Jan 23, 2015, 7:56:01 PM (9 years ago)
Author:
SergeD
Message:

version 1.0.15 - please refer to changelog for more details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GDThumb/js/gdthumb.js

    r30225 r30901  
    4848  build: function () {
    4949
    50     if ((GDThumb.method == 'square') && (GDThumb.big_thumb != null) && (GDThumb.big_thumb.height != GDThumb.big_thumb.width)) {
     50    if ((GDThumb.method == 'square') && (GDThumb.big_thumb != null) && ((GDThumb.big_thumb.height != GDThumb.big_thumb.width) || (GDThumb.big_thumb.height < GDThumb.max_height))){
    5151      var main_width = jQuery('ul.thumbnails').width();
    5252      var max_col_count = Math.floor(main_width / GDThumb.max_height);
Note: See TracChangeset for help on using the changeset viewer.