Fix list_view.js and message_view.js whitespace

pull/749/head
lilia 10 years ago
parent 61581bae7f
commit 1c589f2fad

@ -28,7 +28,6 @@ var Whisper = Whisper || {};
initialize: function() { initialize: function() {
this.listenTo(this.collection, 'add', this.addOne); this.listenTo(this.collection, 'add', this.addOne);
this.listenTo(this.collection, 'reset', this.addAll); this.listenTo(this.collection, 'reset', this.addAll);
}, },
addOne: function(model) { addOne: function(model) {

@ -53,7 +53,9 @@
this.$el.find('.attachments').append( this.$el.find('.attachments').append(
this.model.get('attachments').map(function(attachment) { this.model.get('attachments').map(function(attachment) {
return new Whisper.AttachmentView({model: attachment}).render().el; return new Whisper.AttachmentView({
model: attachment
}).render().el;
}) })
); );

Loading…
Cancel
Save