Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14069 closed bug (notabug)

Label containing a radio / checkbox seems to fire click event twice

Reported by: olle.broms@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version:
Keywords: Cc:
Blocked by: Blocking:

Description

When clicking the label text the click event is fired twice and when clicking the input field it fire as I expected.

See the simple example below. http://jsfiddle.net/gNTMC/

Change History (1)

comment:1 Changed 6 years ago by gibson042

Resolution: notabug
Status: newclosed

You are observing standard browser behavior for invoking click events on form controls with labels: http://jsfiddle.net/gNTMC/1/

Note: See TracTickets for help on using tickets.