Ticket #2386 (closed bug: invalid)
problem with click return value in Firefox
|Reported by:||snpower||Owned by:|
I have 2 onclick events. The first one is a lightbox and the onclick function for this returns false. The second is for google analytics (keeps count of downloads) and the onclick function doesn't specify a return value. Everything worked perfectly with jQuery 1.1.2 (lightbox opened on the same page), but since upgrading to jQuery 1.2.3 it doesn't. With jQuery 1.2.3, the lightbox is opened briefly, but the google analytics onclick event function seems to now default to a return value of true causing the image to then be opened in a new page, breaking the site lightbox functionality.