Don't break new note creation
This commit is contained in:
parent
bbedd3bd93
commit
ea72af8be8
1 changed files with 3 additions and 1 deletions
|
@ -57,9 +57,11 @@ function onUnload()
|
||||||
|
|
||||||
var NotifyCallback = {
|
var NotifyCallback = {
|
||||||
notify: function(){
|
notify: function(){
|
||||||
|
if (noteEditor.note){
|
||||||
noteEditor.note = noteEditor.note;
|
noteEditor.note = noteEditor.note;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
addEventListener("load", function(e) { onLoad(e); }, false);
|
addEventListener("load", function(e) { onLoad(e); }, false);
|
||||||
addEventListener("unload", function(e) { onUnload(e); }, false);
|
addEventListener("unload", function(e) { onUnload(e); }, false);
|
Loading…
Reference in a new issue