diff --git a/source/js/fancy-box.js b/source/js/fancy-box.js index 3a6511f9f..7f5a01ce7 100644 --- a/source/js/fancy-box.js +++ b/source/js/fancy-box.js @@ -8,6 +8,7 @@ $(document).ready(function() { $imageWrapLink = $image.wrap('').parent('a'); } $imageWrapLink.addClass('fancybox'); + $imageWrapLink.attr('rel', 'group'); if ($image.attr("alt")) { $imageWrapLink.append('