florianboudot / micromix

custom Wordpress theme for micromix.fr
http://www.micromix.fr
5 stars 0 forks source link

computers with touch screen cannot use FF & BACKWARD buttons #116

Open florianboudot opened 9 years ago

florianboudot commented 9 years ago

On my computer with touchscreen we cannot use the shortcuts and fast forward and backward

romuleald commented 9 years ago

vazila fé le

florianboudot commented 9 years ago

ouais t'as raison pardon :dancers:

romuleald commented 9 years ago

The actual problem is here, and where we use those variables

var EVENT_down = Modernizr.touch ? 'touchstart' : 'mousedown';
var EVENT_up = Modernizr.touch ? 'touchend' : 'mouseup';
var EVENT_click = Modernizr.touch ? 'click' : 'click';
var EVENT_leave = Modernizr.touch ? 'touchcancel' : 'mouseleave';