diff --git a/src/atlasComponents/userAnnotations/tools/service.ts b/src/atlasComponents/userAnnotations/tools/service.ts index 5af19480ff7b1259592a24f2b1bd6c9c85449ad5..ab789a0d32a9142e8484c69b1285c2dc41726269 100644 --- a/src/atlasComponents/userAnnotations/tools/service.ts +++ b/src/atlasComponents/userAnnotations/tools/service.ts @@ -502,7 +502,7 @@ export class ModularUserAnnotationToolService implements OnDestroy{ /** * before unload, save annotations */ - window.addEventListener('beforeunload', () => { + window.addEventListener('beforeunload', () => { this.storeAnnotation(this.managedAnnotations) }) }