From 1730a3012b24e37a576164e6d43d64137c28f143 Mon Sep 17 00:00:00 2001 From: Jeremy Guiselin <jeremy.guiselin@student.ecp.fr> Date: Mon, 13 Feb 2017 23:55:43 +0100 Subject: [PATCH] Update controller.js --- www/js/pages/tennis/controller.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/js/pages/tennis/controller.js b/www/js/pages/tennis/controller.js index dbd2a1e..8bc25f9 100644 --- a/www/js/pages/tennis/controller.js +++ b/www/js/pages/tennis/controller.js @@ -90,9 +90,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