Skip to content
Snippets Groups Projects
Commit 1730a301 authored by Jeremy Guiselin's avatar Jeremy Guiselin
Browse files

Update controller.js

parent e81582a7
No related branches found
No related tags found
No related merge requests found
...@@ -90,9 +90,7 @@ ...@@ -90,9 +90,7 @@
if (self.shouldUp && $scope.selected.length > 0) { if (self.shouldUp && $scope.selected.length > 0) {
list.css('marginBottom', '50px'); list.css('marginBottom', '50px');
if (ionContent.scrollTop >= 340) {
ionContent.scrollTop = ionContent.scrollHeight; ionContent.scrollTop = ionContent.scrollHeight;
}
} else if (self.shouldUp && $scope.selected.length == 0) { } else if (self.shouldUp && $scope.selected.length == 0) {
list.css('marginBottom', '0'); list.css('marginBottom', '0');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment