diff --git a/Changelog.md b/Changelog.md index ee95b50dc..a8f331360 100644 --- a/Changelog.md +++ b/Changelog.md @@ -120,6 +120,7 @@ For more details see https://wiki.diasporafoundation.org/Updating * Add indication about markdown formatting in the publisher [#4589](https://github.com/diaspora/diaspora/pull/4589) * Add captcha to signup form [#4659](https://github.com/diaspora/diaspora/pull/4659) * Update Underscore.js 1.3.1 to 1.5.2, update Backbone.js 0.9.2 to 1.1.0 [#4662](https://github.com/diaspora/diaspora/pull/4662) +* Display more than 8 pictures on a post [#4796](https://github.com/diaspora/diaspora/pull/4796) ## Gem updates Added: diff --git a/app/assets/javascripts/app/views/content_view.js b/app/assets/javascripts/app/views/content_view.js index cf400b033..73982a9b7 100644 --- a/app/assets/javascripts/app/views/content_view.js +++ b/app/assets/javascripts/app/views/content_view.js @@ -22,7 +22,7 @@ app.views.Content = app.views.Base.extend({ smallPhotos : function() { var photos = this.model.get("photos") if(!photos || photos.length < 2) { return } - return photos.slice(1,8) + return photos },