diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-05 15:41:44 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-05 15:41:44 -0500 |
| commit | 2ac2150dc0fa6733082babc6971383b35835971f (patch) | |
| tree | 72ce96bf46a4d84f986b0a66ccd97f591bf7ebf0 /www/templates/events-modal.html | |
| parent | 2b51690e5a5dec4d1925ca3090ad75e00991443b (diff) | |
swipe fixes
Diffstat (limited to 'www/templates/events-modal.html')
| -rw-r--r-- | www/templates/events-modal.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 8c2ca549..3a3f36ff 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -3,7 +3,8 @@ <ion-modal-view cache-view="false"> <ion-content style="background-color:#444444" ng-cloak> - <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; " delegate-handle="imgscroll"> + <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; " delegate-handle="imgscroll" on-swipe-left="onSwipeEvent(nextId,1)" + on-swipe-right="onSwipeEvent(prevId,-1)"> <div id="full-screen-event" style="height: 100vh;"> @@ -16,8 +17,7 @@ image-spinner-src="{{playbackURL}}/index.php?view=image&rand={{$root.rand}}&path={{relativePath}}{{slide.img}}&scale={{loginData.singleImageQuality}}" image-spinner-loader="lines" ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}" - on-swipe-left="onSwipe(nextId,1)" - on-swipe-right="onSwipe(prevId,-1)" + /> </div> <div ng-if="animationInProgress"> |
