Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9713 closed bug (invalid)

A tag with blank href causes parent accordion to open by default.

Reported by: djptwc@… Owned by:
Priority: low Milestone: 1.next
Component: misc Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

Description

If you have the following accordion setup:

<div id="accordion"> <h3>Accordion 1</h3> <div>Content</div> <h3>Accordion 2</h3> <div><a href="">Content</a></div> </div>

Accordion 2 will open by default. I have tested this in Chrome 12 on OsX 10.6, an IE8 on Windows 7, and it is only present in Chrome.

Change History (2)

comment:1 Changed 8 years ago by djptwc@…

See it in action: http://184.82.43.12/jquery_accordion_bug.html

Note that the parameters being passed to accordion() do affect if this bug appears or not.

comment:2 Changed 8 years ago by addyosmani

Component: unfiledmisc
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Thanks for submitting a ticket to the jQuery project!. Unfortunately we are unable to assist with tickets related to jQuery UI as this is the jQuery core tracker. For assistance, please resubmit your ticket to the jQuery UI tracker where a member of the UI team will be able to assist further.

Note: See TracTickets for help on using tickets.