Firefox 26.0 onTouchStart vs ontouchstart #958
Description
openedon Dec 19, 2013
Flexslider 2.2.0
After update of FF to Version 26.0 my FlexSlider doesn't work correctly. I get error "ReferenceError: onTouchStart is not defined jquery.flexslider.js:397" with settings
animation: "slide", touch: true
When starting with a half sized browser window and 2 images the first image is scaled down. Everything seems to be OK. But when I enlarge the window to full size I see more than 2 images side by side and they don't react responsive. The clones aren't hidden.
Setting touch:false: works.
With touch:true I changed line 397 of jquery.flexslider.js from
el.addEventListener('touchstart', onTouchStart, false);
to (see lower case):
el.addEventListener('touchstart', ontouchstart, false);
The above mentioned error is gone and after some quick tests it looks like this fix works on FIREFOX (no further testing with other browsers!!).