diff --git a/js/ahd.js b/js/ahd.js index 5f87011..ab0fe37 100644 --- a/js/ahd.js +++ b/js/ahd.js @@ -409,8 +409,8 @@ var thumbPage = { $('.clearfix', thumbElement).remove(); - $.each(thumbImages, function(key, image) { - if($(image).offset().left <= left) { + $.each(thumbImages, function (key, image) { + if ($(image).offset().left <= left) { $(image).parent().before('
'); } left = $(image).offset().left; diff --git a/templates/thumb.phtml b/templates/thumb.phtml index f2b6877..663b82a 100644 --- a/templates/thumb.phtml +++ b/templates/thumb.phtml @@ -39,5 +39,5 @@ if ($this->isEditable === true) } ?> -
 
+