From 87b4a06b6754d92214f6aa0795656a64286e58fe Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 26 Feb 2013 13:56:48 +0400 Subject: [PATCH] made swipe up/down go into ribbon... Signed-off-by: Alex A. Naanou --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index f574cea..ec3149f 100755 --- a/index.html +++ b/index.html @@ -141,11 +141,13 @@ $(document).ready(function(){ }).start() $('.viewer') - .on('scrollCancelled swipeUp swipeDown', function(){ setCurrentPage() }) + //.on('scrollCancelled swipeUp swipeDown', function(){ setCurrentPage() }) + .on('scrollCancelled', function(){ setCurrentPage() }) .on('shortClick', handleClick) .on('longClick', handleLongClick) .on('swipeLeft', handleSwipeLeft) .on('swipeRight', handleSwipeRight) + .on('swipeUp swipeDown', function(){ togglePageView('off') }) .on('screenReleased', handleScrollRelease) /* .on('screenReleased swipeRight swipeLeft', handleScrollRelease)