www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 7bbb4a8e2db012c30850273506fe6df8e1f2710f
parent 202192bc72b0aab708d37b41a63a4d09dfd23580
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 27 Nov 2017 19:45:10 -0500

Avoid logged deprecation warning in external note editor

Diffstat:
Mchrome/content/zotero/note.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/note.js b/chrome/content/zotero/note.js @@ -99,7 +99,7 @@ var NotifyCallback = { if (noteEditor.item && ids.indexOf(noteEditor.item.id) != -1) { // If the document title hasn't yet been set, reset undo so // undoing to empty isn't possible - var noteTitle = noteEditor.note.getNoteTitle(); + var noteTitle = noteEditor.item.getNoteTitle(); if (!document.title && noteTitle != '') { noteEditor.clearUndo(); document.title = noteTitle;