forked from friendica/friendica-addons
4e7da2799c
* imgages in body-attach with title / alt attribute get them removed while adding fancy attributes * Added fancybox to image inlined in posts. Un-hooked the old lightbox from frio and vier and excahnged that with fancybox hooks. * Excluded images in "type-link" divs from being "fancied" as they have no images but pages linked to.
4 lines
126 B
JavaScript
4 lines
126 B
JavaScript
$(document).ready(function() {
|
|
$.fancybox.defaults.loop = "true";
|
|
$("body").off("click", ".wall-item-body a img");
|
|
}); |