fix collapsing of posts [ci skip]
This commit is contained in:
parent
0a40cdf288
commit
c82ac5f3e2
3 changed files with 8 additions and 4 deletions
|
|
@ -18,7 +18,9 @@
|
|||
</a>
|
||||
</span>
|
||||
|
||||
<%= text %>
|
||||
<div class="collapsible">
|
||||
<%= text %>
|
||||
</div>
|
||||
|
||||
<div class="comment_info">
|
||||
<time class="timeago" datetime="<%= created_at %>"/>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<%= text %>
|
||||
|
||||
<%= o_embed_html %>
|
||||
<div class="collapsible">
|
||||
<%= text %>
|
||||
<%= o_embed_html %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue