Account for callbacks in 'fancybox'.

This commit is contained in:
Daniel Rosenwasser
2015-08-11 16:37:53 -07:00
parent b1d60d580d
commit 722357fe99
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ $(".fancybox").fancybox({
}
});
$(".fancybox").fancybox({
beforeLoad: function () {
beforeLoad: () => {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
});