mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
made swipe up/down go into ribbon...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
323b841330
commit
87b4a06b67
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user