minor tweeking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-23 16:40:26 +04:00
parent 5aacd010c7
commit 78566ae516

View File

@ -43,10 +43,14 @@ $(document).ready(function(){
}, },
pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) { pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) {
if(fingerCount == 2){
togglePageView('on') togglePageView('on')
}
}, },
pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) { pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) {
if(fingerCount == 2){
togglePageView('off') togglePageView('off')
}
}, },
@ -60,7 +64,9 @@ $(document).ready(function(){
//togglePageView('on') //togglePageView('on')
} }
return true return true
} },
fingers: $.fn.swipe.fingers.ALL
}) })
$('.button.cover').swipe({click: goToMagazineCover}) $('.button.cover').swipe({click: goToMagazineCover})
$('.button.next-article').swipe({click: nextArticle}) $('.button.next-article').swipe({click: nextArticle})