summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-20 10:24:46 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-20 10:24:46 -0500
commitfcbe79419c77116f1fbd539f4ce8c16ffecfe437 (patch)
treee1b4520da43d7b9a1e059c5bdf260cac661362c6
parentf357e0a7046e907b9920a2686c502c57ccf3d676 (diff)
nit
Former-commit-id: 4bdb25fab4b12bf0063ba236775906e0d5677ec1
-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 () {