Fix note editor iframe docShell undefined error

Regression after 37ce3c0
This commit is contained in:
windingwind 2026-01-28 10:49:55 +01:00
parent 4880674668
commit aef4beee89

View file

@ -89,10 +89,10 @@
'zotero/item': event.dataTransfer.getData('zotero/item')
}, this._iframe.contentWindow);
}, true);
this._iframe.docShell.windowDraggingAllowed = true;
this._initialized = true;
});
this.append(content);
this._iframe.docShell.windowDraggingAllowed = true;
this._notifierID = Zotero.Notifier.registerObserver(this, ['item', 'file'], 'noteEditor');
this.notitle = !!this.getAttribute('notitle');