jQuery(function($){
$("#sbi_images").on("mouseover touchstart", ".sbi_photo", function() {
$(this).find("img").each(function() {
$(this).parent().parent().find(".descrizioneInstagram").remove();
$(this).parent().after(`
`);
$(this).parent().next().find("p").collapser({
mode: 'lines',
truncate: 5,
ellipsis: '...',
controlBtn: '',
showText: 'Mostra di più',
hideText: 'Nacondi testo',
showClass: 'show-class',
hideClass: 'hide-class',
atStart: 'hide',
blockTarget: 'next',
blockEffect: 'fade',
lockHide: false,
changeText: false,
beforeShow: null,
afterShow: null,
beforeHide: null,
afterHide: null
});
});
});
});