Search and Top Navigation
#4658 closed bug (wontfix)
Opened July 07, 2009 05:55PM UTC
Closed July 14, 2010 06:45PM UTC
Last modified October 03, 2012 04:56PM UTC
Accordion header text should be wrapped in a SPAN
Reported by: | ajpiano | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8 |
Component: | ui.accordion | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Text in the accordion header should be wrapped in a span, such that the text content of the header can be easily manipulated with .text(). Using .text() at present destroys the icons in the accordion header, forcing the user to resort to more hackish solutions...
Accordion doesn't provide an API for setting the header text. There's nothing stopping users from wrapping their own code in a span to target just the text.