|
|
|
@@ -186,7 +186,7 @@ class IHKGallery { |
|
|
|
item.find('a').removeAttr('tabindex'); |
|
|
|
//newItems.push(item); |
|
|
|
} |
|
|
|
if ( this.moreButton && last == this.items.length) { |
|
|
|
if ( this.moreButton && last === this.items.length) { |
|
|
|
this.moreButton.hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
@@ -213,7 +213,7 @@ class IHKGallery { |
|
|
|
imgElement.appendTo(slide); |
|
|
|
|
|
|
|
if (item.find('span').length > 0) { |
|
|
|
$('<div class="text-box" />').appendTo(slide).append(item.find('span').clone()); |
|
|
|
$('<div class="text-box" />').appendTo(slide).append(item.find('span.image-description,span.copyright').clone()); |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
|