This commit is contained in:
rlx 2019-02-01 12:43:19 +05:30
commit a71ffdb82f
1 changed files with 3 additions and 0 deletions

View File

@ -225,6 +225,9 @@ txtjs.onMessage = function(data, event) {
txtjs.renderNote(note)
txtjs.notes.push(note)
})
} else if (event == 'removeAnnotation') {
txtjs.selectNote(data.id)
txtjs.removeNote()
}
}