Changeset 9956 for extensions/regenerateThumbnails
- Timestamp:
- Mar 31, 2011, 9:19:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/regenerateThumbnails/regenerate_thumbnails.tpl
r9937 r9956 289 289 checkPermitAction() 290 290 }); 291 292 var max_dim = 0; 293 $(window).load(function() { 294 $(".thumbnails img").each(function () { 295 if (jQuery(this).height() > max_dim) 296 max_dim = jQuery(this).height() + 10; 297 if (jQuery(this).width() > max_dim) 298 max_dim = jQuery(this).height() + 10; 299 jQuery("ul.thumbnails span, ul.thumbnails label").css('width', max_dim+'px').css('height', max_dim+'px'); 300 }); 301 }); 291 302 {/literal}{/footer_script} 292 303
Note: See TracChangeset
for help on using the changeset viewer.