summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/ModalCtrl.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js
index 166142f1..8c48201a 100644
--- a/www/js/ModalCtrl.js
+++ b/www/js/ModalCtrl.js
@@ -1464,16 +1464,20 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco
if (typeof $scope.ionRange !== 'undefined') {
$scope.$watch('ionRange.index', function () {
//
+ $scope.mycarousel.index = parseInt($scope.ionRange.index) - 1;
+
if (carouselUtils.getStop() == true)
return;
- $scope.mycarousel.index = parseInt($scope.ionRange.index) - 1;
+
// console.log ("***ION RANGE CHANGED TO " + $scope.mycarousel.index);
});
}
if (typeof $scope.mycarousel !== 'undefined') {
$scope.$watch('mycarousel.index', function () {
+
+
//console.log ("***ION MYCAROUSEL CHANGED");