Browse code

Fix animation else if condition

Benjamin Roth authored on15/03/2021 14:18:48
Showing1 changed files
... ...
@@ -16,7 +16,7 @@
16 16
     {
17 17
       return 2;
18 18
     }*/ else if (
19
-      rect.bottom < (window.innerHeight || document.documentElement.clientHeight))
19
+      rect.bottom < 0)
20 20
     {
21 21
       return 2;
22 22
     }