Fix style
// FREEBIE
This commit is contained in:
parent
2870c1fff2
commit
748215e285
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@
|
||||||
this.model.get('attachments').forEach(function(attachment) {
|
this.model.get('attachments').forEach(function(attachment) {
|
||||||
var view = new Whisper.AttachmentView({ model: attachment });
|
var view = new Whisper.AttachmentView({ model: attachment });
|
||||||
this.listenTo(view, 'update', function() {
|
this.listenTo(view, 'update', function() {
|
||||||
if(!view.el.parentNode) {
|
if (!view.el.parentNode) {
|
||||||
this.trigger('beforeChangeHeight');
|
this.trigger('beforeChangeHeight');
|
||||||
this.$('.attachments').append(view.el);
|
this.$('.attachments').append(view.el);
|
||||||
this.trigger('afterChangeHeight');
|
this.trigger('afterChangeHeight');
|
||||||
|
|
Loading…
Reference in a new issue