The slider on the home page throws a javascript error in WP 3.5

I'm getting this error: "Uncaught Error: Syntax error, unrecognized expression:" supposedly on jquery.js:2

I don't have this problem using other themes or other functionality relying on jQuery. Just this theme on the home page slider.