mirror of
https://github.com/flynx/PortableMag.git
synced 2025-11-01 04:20:20 +00:00
more digging...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
85c1590539
commit
9c931f0c34
@ -120,10 +120,8 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
.on('touchmove', function(evt){
|
.on('touchmove', function(evt){
|
||||||
evt.preventDefault()
|
evt.preventDefault()
|
||||||
//var pos_x = event.touches[0].pointX
|
var pos_x = event.touches[0].pointX
|
||||||
var pos_x = event.pageX
|
|
||||||
|
|
||||||
console.log(event.pageX + ' ' + event.clientX +' '+ event.touches)
|
|
||||||
|
|
||||||
if(_x == null){
|
if(_x == null){
|
||||||
_x = pos_x
|
_x = pos_x
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user