diff --git a/app/views/comments/_comments.haml b/app/views/comments/_comments.haml index 9a85ea5f3891c7a5818d53554c6908ab8ea04892..7801ba91b692c396bc0931e1edac05ce792fc000 100644 --- a/app/views/comments/_comments.haml +++ b/app/views/comments/_comments.haml @@ -14,5 +14,5 @@ = render :partial => 'comments/comment', :collection => post.comments, :locals => {:post => post} - unless @commenting_disabled - .new_comment_form_wrapper{:class => ('hidden' if post.comments.size == 0)} + .new_comment_form_wrapper{:class => ('hidden' if(post.comments.empty? && request.format !='mobile'))} = new_comment_form(post.id, current_user)