made swipe up/down go into ribbon...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-26 13:56:48 +04:00
parent 323b841330
commit 87b4a06b67

View File

@ -141,11 +141,13 @@ $(document).ready(function(){
}).start() }).start()
$('.viewer') $('.viewer')
.on('scrollCancelled swipeUp swipeDown', function(){ setCurrentPage() }) //.on('scrollCancelled swipeUp swipeDown', function(){ setCurrentPage() })
.on('scrollCancelled', function(){ setCurrentPage() })
.on('shortClick', handleClick) .on('shortClick', handleClick)
.on('longClick', handleLongClick) .on('longClick', handleLongClick)
.on('swipeLeft', handleSwipeLeft) .on('swipeLeft', handleSwipeLeft)
.on('swipeRight', handleSwipeRight) .on('swipeRight', handleSwipeRight)
.on('swipeUp swipeDown', function(){ togglePageView('off') })
.on('screenReleased', handleScrollRelease) .on('screenReleased', handleScrollRelease)
/* /*
.on('screenReleased swipeRight swipeLeft', handleScrollRelease) .on('screenReleased swipeRight swipeLeft', handleScrollRelease)