Fix: selection glitch in annotation index

This commit is contained in:
Ruben van de Ven 2022-06-14 17:31:49 +02:00
parent 06a881525f
commit d39548ff95

View file

@ -205,9 +205,8 @@ class AnnotationManager {
if (this.selectedAnnotations.indexOf(annotation) !== -1){
this.selectedAnnotations.splice(this.selectedAnnotations.indexOf(annotation), 1)
}
this.annotationsEl.querySelector('#select-'+annotation.id_hash).checked = true;
this.annotationsEl.querySelector('#select-'+annotation.id_hash).checked = false;
this.buildAnnotationActions()
}
buildAnnotationActions() {