From e81582a750486ab7d2c2b4e668cac114a682c058 Mon Sep 17 00:00:00 2001
From: Jeremy Guiselin <jeremy.guiselin@student.ecp.fr>
Date: Mon, 13 Feb 2017 23:55:17 +0100
Subject: [PATCH] Update controller.js

---
 www/js/pages/football/controller.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/www/js/pages/football/controller.js b/www/js/pages/football/controller.js
index c27089e..b5a7b64 100644
--- a/www/js/pages/football/controller.js
+++ b/www/js/pages/football/controller.js
@@ -92,9 +92,7 @@
 
         if (self.shouldUp && $scope.selected.length > 0) {
           list.css('marginBottom', '50px');
-          if (ionContent.scrollTop >= 340) {
-            ionContent.scrollTop = ionContent.scrollHeight;
-          }
+          ionContent.scrollTop = ionContent.scrollHeight;
         } else if (self.shouldUp && $scope.selected.length == 0) {
           list.css('marginBottom', '0');
         }
-- 
GitLab