From 875eaffd42943b32673198afc12d30625b5fac1e Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 10 Jul 2011 21:42:37 -0700 Subject: [PATCH] added missing class to cubbies photos in the stream for the lightbox --- app/views/shared/_stream_element.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 74595c794d2..9cd085270c6 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -26,7 +26,7 @@ = link_to(how_long_ago(post), post_path(post)) - if post.activity_streams? - = link_to image_tag(post.image_url, 'data-small-photo' => post.image_url, 'data-full-photo' => post.image_url), post.object_url, :class => "stream-photo-link" + = link_to image_tag(post.image_url, 'data-small-photo' => post.image_url, 'data-full-photo' => post.image_url, :class => 'stream-photo'), post.object_url, :class => "stream-photo-link" - else = render 'status_messages/status_message', :post => post, :photos => post.photos