feature:2238
Bug corrected with Chrome (function is loaded later) git-svn-id: http://piwigo.org/svn/trunk@10164 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4b82a64845
commit
c218a05d8e
1 changed files with 4 additions and 2 deletions
|
@ -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))
|
||||
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue