We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03bd4b4 + c449792 commit 77d5d08Copy full SHA for 77d5d08
source/js/src/utils.js
@@ -15,7 +15,7 @@ NexT.utils = NexT.$u = {
15
16
if ($imageWrapLink.length < 1) {
17
var imageLink = ($image.attr('data-original')) ? this.getAttribute('data-original') : this.getAttribute('src');
18
- $imageWrapLink = $image.wrap('<a href="' + imageLink + '"></a>').parent('a');
+ $imageWrapLink = $image.wrap('<a data-fancybox="group" href="' + imageLink + '"></a>').parent('a');
19
}
20
21
$imageWrapLink.addClass('fancybox fancybox.image');
0 commit comments