mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
MessageView.appendAttachmentView: Remove from proper parent
FREEBIE
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user