Fix contextPane note regression that unpurposely enables read-only mode

This commit is contained in:
Martynas Bagdonas 2021-06-30 17:00:08 +03:00
parent f4e7c8293b
commit ee9ebc6152

View file

@ -705,7 +705,7 @@ var ZoteroContextPane = new function () {
if (!item) {
return;
}
var readOnly = (item.libraryID);
var readOnly = _isLibraryReadOnly(item.libraryID);
var context = _getNotesContext(item.libraryID);
if (context) {
var { editor, node } = context;