zurb/reveal

IE7+8 console shows an error when closing call is made

erratik opened this issue · 0 comments

Building a site using the plugin, and it works great in every browser except IE 7+8.

On ajax success:

 $('#categorySlider').trigger('reveal:close');

This doesn't actually close anything and the IE Console outputs this error message:

SCRIPT438: Object doesn't support this property or method
jquery.reveal.js, line 88 character 5

I checked to make sure that specific element exists on the page and it does, so I'm not sure what's going on here.

Could it have anything to do with a jquery.cycle terminating because of no images? I doubt it, but I thought I'd mention that. It's just a log message, not an error, on the cycle's part.

I could just hide the window on click but the error still outputs and I'm not happy with that solution.

Thanks in advance for the helps!!