mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Remove dragstart listener from attachment row on destroy
Follow-up to e6f1983073
This commit is contained in:
parent
e6f1983073
commit
c400d11c5c
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ import { getCSSItemTypeIcon } from 'components/icons';
|
|||
|
||||
destroy() {
|
||||
this._attachmentButton.removeEventListener('click', this._handleAttachmentClick);
|
||||
this._attachmentButton.removeEventListener('dragstart', this._handleAttachmentDragStart);
|
||||
this._annotationButton.removeEventListener('click', this._handleAnnotationClick);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue