summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/ModalCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js
index 25c829b5..b57e390e 100644
--- a/www/js/ModalCtrl.js
+++ b/www/js/ModalCtrl.js
@@ -537,8 +537,9 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco
};
$scope.scaleImage = function () {
- console.log("Switching image style");
+
$scope.imageFit = !$scope.imageFit;
+ console.log("Switching image style to " + $scope.imageFit);
};
$scope.$on('$ionicView.enter', function () {