We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 46223da5 authored by Brion Vibber's avatar Brion Vibber

CSS class tweak for inline attachment thumbnails to avoid things thinking they're content links

parent 592e0bc5
......@@ -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.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment