fix remove
This commit is contained in:
parent
57692665a4
commit
76c9bf5d6e
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ function removeAnnotation(id) {
|
||||||
annotations = annotations.filter(function(annotation) {
|
annotations = annotations.filter(function(annotation) {
|
||||||
return annotation.id != id
|
return annotation.id != id
|
||||||
})
|
})
|
||||||
Ox.$parent.postMessage('removeAnnotation', {id: selected.dataset.id})
|
Ox.$parent.postMessage('removeAnnotation', {id: id})
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadAnnotations(page) {
|
function loadAnnotations(page) {
|
||||||
|
|
Loading…
Reference in a new issue