diff --git a/app/modules/profile/profile-timeline-attachment/profile-timeline-attachment.directive.coffee b/app/modules/profile/profile-timeline-attachment/profile-timeline-attachment.directive.coffee index ae2edded..e733a089 100644 --- a/app/modules/profile/profile-timeline-attachment/profile-timeline-attachment.directive.coffee +++ b/app/modules/profile/profile-timeline-attachment/profile-timeline-attachment.directive.coffee @@ -18,6 +18,8 @@ ProfileTimelineAttachmentDirective = (template, $compile) -> el.html(templateHtml) $compile(el.contents())(scope) + el.find("img").error () -> @.remove() + return { link: link scope: {