mirror of
https://github.com/flynx/PortableMag.git
synced 2025-11-01 04:20:20 +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) {
|
pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) {
|
||||||
togglePageView('on')
|
if(fingerCount == 2){
|
||||||
|
togglePageView('on')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) {
|
pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) {
|
||||||
togglePageView('off')
|
if(fingerCount == 2){
|
||||||
|
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})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user