From ef06377470845abf4f8de0cd3d86cbd2ae7c8a86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Berna=20T=C3=BClek?= <berna.tuelek@mni.thm.de>
Date: Sun, 14 Apr 2019 19:16:51 +0200
Subject: [PATCH] Improve rubberBand animation

---
 src/app/components/shared/comment/comment.component.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/components/shared/comment/comment.component.ts b/src/app/components/shared/comment/comment.component.ts
index 9c1f980f1..2ccd1eb14 100644
--- a/src/app/components/shared/comment/comment.component.ts
+++ b/src/app/components/shared/comment/comment.component.ts
@@ -56,10 +56,10 @@ export class CommentComponent implements OnInit {
     langService.langEmitter.subscribe(lang => translateService.use(lang));
   }
 
-  startAnimation(state: string) {
-    console.log(state);
+  startAnimation(state_:any) {
+    console.log(state_);
     if (!this.animationState) {
-      this.animationState = state;
+      this.animationState = state_;
     }
   }
 
-- 
GitLab