Juan Ignacio
Juan Ignacio

Reputation: 3267

jQuery click() issue on Safari but not Chrome

I'm having a jQuery issue in Safari but not on Chrome so it's not a Webkit specific issue (or is it?)

I'm using [UniformJS][1] to beautify my form in http://results-estasporviajar.com/buscador.php

$("input, select, button").uniform();

Uniform hides the original element by a "opacitiy: 0" style and place a themed element instead. Safari is making a weird behavior: when clicking a element, it reloads the page without even waiting for the click to be released. If I remove UniformJS this doesn't happen. The most weird thing is that this doesn't happen in Chrome, FF or Opera.

I tried changing class, id and name attributes to double check none of my code is producing this behaviour. I tried

$('#destino').unbind('click');

but nothing changes.

Any idea what might be happening?

Upvotes: 3

Views: 753

Answers (1)

Manuel van Rijn
Manuel van Rijn

Reputation: 10305

Sadly but true this seems to be a bug within Safari

see the reported issue (#183) on GitHub

Good news is that it's already fixed in the nightly build of Safari...

Upvotes: 3

Related Questions