fix collapsing of posts [ci skip]

This commit is contained in:
danielgrippi 2012-01-18 12:40:14 -08:00
parent 0a40cdf288
commit c82ac5f3e2
3 changed files with 8 additions and 4 deletions

View file

@ -18,7 +18,9 @@
</a>
</span>
<%= text %>
<div class="collapsible">
<%= text %>
</div>
<div class="comment_info">
<time class="timeago" datetime="<%= created_at %>"/>

View file

@ -12,6 +12,7 @@
<% } %>
<% } %>
<%= text %>
<%= o_embed_html %>
<div class="collapsible">
<%= text %>
<%= o_embed_html %>
</div>

View file

@ -8,6 +8,7 @@ app.views.StreamObject = app.views.Base.extend({
this.$(".collapsible").expander({
slicePoint: 400,
widow: 12,
expandPrefix: "",
expandText: Diaspora.I18n.t("show_more"),
userCollapse: false
});