forked from GNUsocial/gnu-social
CSS class tweak for inline attachment thumbnails to avoid things thinking they're content links
This commit is contained in:
parent
592e0bc505
commit
46223da594
@ -71,6 +71,17 @@ class InlineAttachmentListItem extends AttachmentListItem
|
||||
$this->out->elementEnd('a');
|
||||
}
|
||||
|
||||
/**
|
||||
* Build HTML attributes for the link
|
||||
* @return array
|
||||
*/
|
||||
function linkAttr()
|
||||
{
|
||||
$attr = parent::linkAttr();
|
||||
$attr['class'] = 'attachment-thumbnail';
|
||||
return $attr;
|
||||
}
|
||||
|
||||
/**
|
||||
* start a single notice.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user