mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Account for callbacks in 'fancybox'.
This commit is contained in:
@@ -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 : '');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user