remove first thumbnail; duplicate of big photo
This commit is contained in:
parent
9518ff34da
commit
9d02b0a586
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ app.views.Content = app.views.Base.extend({
|
|||
smallPhotos : function() {
|
||||
var photos = this.model.get("photos")
|
||||
if(!photos || photos.length < 2) { return }
|
||||
return photos
|
||||
photos.splice(0, 1); // remove first photo as it is already shown in big
|
||||
return photos;
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue