mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
minor tweeking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5aacd010c7
commit
78566ae516
12
index.html
12
index.html
@ -43,10 +43,14 @@ $(document).ready(function(){
|
||||
},
|
||||
|
||||
pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) {
|
||||
togglePageView('on')
|
||||
if(fingerCount == 2){
|
||||
togglePageView('on')
|
||||
}
|
||||
},
|
||||
pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) {
|
||||
togglePageView('off')
|
||||
if(fingerCount == 2){
|
||||
togglePageView('off')
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -60,7 +64,9 @@ $(document).ready(function(){
|
||||
//togglePageView('on')
|
||||
}
|
||||
return true
|
||||
}
|
||||
},
|
||||
|
||||
fingers: $.fn.swipe.fingers.ALL
|
||||
})
|
||||
$('.button.cover').swipe({click: goToMagazineCover})
|
||||
$('.button.next-article').swipe({click: nextArticle})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user