bind removeAnnotation event

This commit is contained in:
j 2019-01-31 11:52:36 +05:30
parent e1937f3c7c
commit dfe2822558

View file

@ -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()
}
})
})