Commit 8d3ad40e authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] fix Join modal on Android app or small device - fix #46

parent 5c365a77
......@@ -437,7 +437,7 @@ function HomeController($scope, $state, $timeout, $ionicHistory, csPlatform, csC
function getRandomImage() {
var imageCountByKind = {
'service': 13,
'service': 12,
'spring': 7,
'summer': 11,
'autumn': 7,
......
......@@ -38,7 +38,7 @@ angular.module('cesium.market.join.controllers', ['cesium.services', 'cesium.mar
$scope.slides.slider.unlockSwipes();
$scope.slides.slider.slideNext();
$scope.slides.slider.lockSwipes();
$scope.isLastSlide = $scope.slides.slider.activeIndex === 4;
$scope.isLastSlide = $scope.slides.slider.activeIndex === ($scope.slides.slider.slides.length-1);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment