mirror of
https://github.com/friendica/friendica
synced 2024-11-13 01:42:59 +00:00
10 lines
406 B
JavaScript
10 lines
406 B
JavaScript
$(document).ready(function() {
|
|
$.fancybox.defaults.loop = "true";
|
|
$.fancybox.defaults.afterLoad = function(instance, current) {
|
|
current.$image.attr('alt', current.opts.$orig.find('img').attr('alt') );
|
|
current.$image.attr('title', current.opts.$orig.find('img').attr('title') );
|
|
};
|
|
$.fancybox.defaults.caption = function (instance, slide, caption) {
|
|
return slide.$thumb.attr('alt');
|
|
};
|
|
});
|