MessageView.appendAttachmentView: Remove from proper parent
FREEBIE
This commit is contained in:
parent
f602ac462f
commit
40651f44ab
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@
|
|||
var parent = this.$('.attachments')[0];
|
||||
if (view.updated && parent !== view.el.parentNode) {
|
||||
if (view.el.parentNode) {
|
||||
parent.removeChild(view.el);
|
||||
view.el.parentNode.removeChild(view.el);
|
||||
}
|
||||
|
||||
this.trigger('beforeChangeHeight');
|
||||
|
|
Loading…
Reference in a new issue