Skip to content

Commit

Permalink
feature:2238
Browse files Browse the repository at this point in the history
Bug corrected with Chrome (function is loaded later)

git-svn-id: http://piwigo.org/svn/trunk@10164 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Apr 8, 2011
1 parent 4b82a64 commit c218a05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions admin/themes/default/template/batch_manager_global.tpl
Expand Up @@ -300,6 +300,10 @@ $(document).ready(function() {
return false;
});

checkPermitAction()
});

jQuery(window).load(function() {
var max_dim = 20;
$(".thumbnails img").each(function () {
if ($(this).height() > (max_dim-20))
Expand All @@ -308,8 +312,6 @@ $(document).ready(function() {
max_dim = $(this).width() + 20;
$("ul.thumbnails span, ul.thumbnails label").css('width', max_dim+'px').css('height', max_dim+'px');
});

checkPermitAction()
});
{/literal}{/footer_script}

Expand Down

0 comments on commit c218a05

Please sign in to comment.