Fix #1038 again for separate note windows

This commit is contained in:
Dan Stillman 2016-08-01 03:36:54 -04:00
parent d5b2f67afa
commit 90cc7efef4

View File

@ -86,8 +86,6 @@ function onUnload()
var NotifyCallback = {
notify: function(action, type, ids){
if (noteEditor.item && ids.indexOf(noteEditor.item.id) != -1) {
noteEditor.item = noteEditor.item;
// If the document title hasn't yet been set, reset undo so
// undoing to empty isn't possible
var noteTitle = noteEditor.note.getNoteTitle();