diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 10:24:46 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 10:24:46 -0500 |
| commit | fcbe79419c77116f1fbd539f4ce8c16ffecfe437 (patch) | |
| tree | e1b4520da43d7b9a1e059c5bdf260cac661362c6 /www/js/ModalCtrl.js | |
| parent | f357e0a7046e907b9920a2686c502c57ccf3d676 (diff) | |
nit
Former-commit-id: 4bdb25fab4b12bf0063ba236775906e0d5677ec1
Diffstat (limited to 'www/js/ModalCtrl.js')
| -rw-r--r-- | www/js/ModalCtrl.js | 3 |
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 () { |
