summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/EventModalCtrl.js2
-rw-r--r--www/templates/events-modal.html11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js
index eb7e5524..c59b314f 100644
--- a/www/js/EventModalCtrl.js
+++ b/www/js/EventModalCtrl.js
@@ -1538,7 +1538,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro
$scope.onSwipeEvent = function (eid, dirn) {
- console.log("CALLED WITH " + eid + " dirn " + dirn);
+ //console.log("CALLED WITH " + eid + " dirn " + dirn);
if ($ionicScrollDelegate.$getByHandle("imgscroll").getScrollPosition().zoom != 1) {
//console.log("Image is zoomed in - not honoring swipe");
return;
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 3fe3824b..6fa1f094 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -194,6 +194,17 @@
</a>
</li>
+ <li ng-if="$root.platformOS == 'desktop' && isToggleListMenu">
+ <a href="" ng-click="zoomImage(1)">
+ <i class="ion-plus-round"></i>
+ </a>
+ </li>
+ <li ng-if="$root.platformOS == 'desktop' && isToggleListMenu">
+ <a href="" ng-click="zoomImage(-1)">
+ <i class="ion-minus-round"></i>
+ </a>
+ </li>
+
</ul>
</div>
</div>