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) {
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})