accordion: call .blur() so ui-state-focus class gets removed from last-focused header. See r1945

This commit is contained in:
Richard Worth 2009-03-02 12:37:00 +00:00
parent b8f1e92817
commit a5c31c097c

View File

@ -354,7 +354,7 @@ $.widget("ui.accordion", {
}
toHide.prev().attr('aria-expanded','false').attr("tabIndex", "-1");
toHide.prev().attr('aria-expanded','false').attr("tabIndex", "-1").blur();
toShow.prev().attr('aria-expanded','true').attr("tabIndex", "0").focus();
},