]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/inlineattachmentlist.php
fix ModPlus 'remote profile options' popup for Realtime
[quix0rs-gnu-social.git] / lib / inlineattachmentlist.php
index 8b1a1cd9bb30b40be4e82923a6aa1d2c19048f16..de5008e87babb796e2ebd8d92b6066e453de901f 100644 (file)
@@ -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.
      *