From d39548ff959941e27e9a97a555de2ad51d975bcf Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Tue, 14 Jun 2022 17:31:49 +0200 Subject: [PATCH] Fix: selection glitch in annotation index --- app/www/annotations.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/www/annotations.js b/app/www/annotations.js index 0ab6c04..2227e66 100644 --- a/app/www/annotations.js +++ b/app/www/annotations.js @@ -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() {