jparallax
jparallax copied to clipboard
minified version does not work
I am using jquery 2.0.3. Including jquery.jparallax.min.js throws the following error:
TypeError: d.event.handle is undefined
Error occures in line 14 in FF 26.
Chrome 32 gives:
Uncaught TypeError: Cannot call method 'apply' of undefined
I minified the files with uglifyjs and that worked.
this is because the plugin does not work with jquery 1,7+ due to a deprecated method
Will there ever be a fix for this?
The fix is already there (in jquery.event.frame), but unfortunately it didn't make it into the .min.js file!
Workaround: Instead of including the .min.js-Version, include both the jquery.event.frame.js and the normal parallax.js file (both lying in the js/ folder).