mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion: XHTML
This commit is contained in:
parent
75bfb681b9
commit
ee4334ab22
@ -39,8 +39,8 @@ $.widget("ui.accordion", {
|
||||
|
||||
if (!this.element.hasClass("ui-accordion")) {
|
||||
this.element.addClass("ui-accordion");
|
||||
$("<span class='ui-accordion-left'/>").insertBefore(options.headers);
|
||||
$("<span class='ui-accordion-right'/>").appendTo(options.headers);
|
||||
$('<span class="ui-accordion-left"/>').insertBefore(options.headers);
|
||||
$('<span class="ui-accordion-right"/>').appendTo(options.headers);
|
||||
options.headers.addClass("ui-accordion-header").attr("tabindex", "0");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user