Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReferenceError: g is not defined error in Firefox 26.0

I'm using Woothemes's jQuery FlexSlider with it's minified jquery version. It's working perfectly in IE-9, Chrome 32, Safari 5.1.7. But when I open it in firefox 26.0 getting ReferenceError: g is not defined error in firebug console and this is what happening images are spliting

What's wrong with it?

like image 780
DasCodes Avatar asked Jun 06 '26 16:06

DasCodes


2 Answers

It seems to be a bug. I found this on their GitHub page: https://github.com/woothemes/FlexSlider/issues/797

like image 144
James Hibbard Avatar answered Jun 10 '26 20:06

James Hibbard


Problem solved by moving el.addEventListener('touchstart', onTouchStart, false); after function onTouchStart(e) { ... }

Reference: https://github.com/woothemes/FlexSlider/issues/958#issuecomment-31643943

like image 37
DasCodes Avatar answered Jun 10 '26 20:06

DasCodes