bind removeAnnotation event
This commit is contained in:
parent
e1937f3c7c
commit
dfe2822558
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue