fix remove

This commit is contained in:
j 2019-01-24 18:27:26 +05:30
parent 57692665a4
commit 76c9bf5d6e

View file

@ -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) {