diff --git a/txt.js/txt.js b/txt.js/txt.js index ee85393..75513b1 100644 --- a/txt.js/txt.js +++ b/txt.js/txt.js @@ -9,6 +9,9 @@ Ox.load({UI: {loadCSS: false}}, function() { txtjs.renderNote(note) txtjs.notes.push(note) }) + } else if (event == 'removeAnnotation') { + txtjs.selectNote(data.id) + txtjs.removeNote() } }) })