diff --git a/app/views/comments/_comments.haml b/app/views/comments/_comments.haml index dd7112062..d6c0c6c4f 100644 --- a/app/views/comments/_comments.haml +++ b/app/views/comments/_comments.haml @@ -9,7 +9,7 @@ = image_tag 'icons/spechbubble_2.png', :class => 'more_comments_icon' %b= comment_toggle(comments.size) -%ul.comments{:id => post_id, :class => ("hidden" if comments.size == 0 && !defined?(force_open))} +%ul.comments{:id => post_id, :class => ("hidden" if comments.size == 0 && !(defined?(always_expanded) && always_expanded))} -if comments.size > 3 .older_comments{:class => ("hidden inactive" if defined?(condensed) && condensed)} = render :partial => 'comments/comment', :collection => comments[0..-4] diff --git a/app/views/status_messages/show.mobile.haml b/app/views/status_messages/show.mobile.haml index 8efa3f0d7..a5c871976 100644 --- a/app/views/status_messages/show.mobile.haml +++ b/app/views/status_messages/show.mobile.haml @@ -20,4 +20,4 @@ = link_to t('.destroy'), @status_message, :confirm => t('are_you_sure'), :method => :delete .stream.show{:data=>{:guid=>@status_message.id}} - = render "comments/comments", :post_id => @status_message.id, :comments => @status_message.comments, :always_expanded => true, :force_open => true + = render "comments/comments", :post_id => @status_message.id, :comments => @status_message.comments, :always_expanded => true