summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/inlineattachmentlist.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/inlineattachmentlist.php b/lib/inlineattachmentlist.php
index 8b1a1cd9b..de5008e87 100644
--- a/lib/inlineattachmentlist.php
+++ b/lib/inlineattachmentlist.php
@@ -72,6 +72,17 @@ class InlineAttachmentListItem extends AttachmentListItem
}
/**
+ * Build HTML attributes for the link
+ * @return array
+ */
+ function linkAttr()
+ {
+ $attr = parent::linkAttr();
+ $attr['class'] = 'attachment-thumbnail';
+ return $attr;
+ }
+
+ /**
* start a single notice.
*
* @return void