From a5c31c097cbe548a670eaa216e4575ad84de852e Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 2 Mar 2009 12:37:00 +0000 Subject: accordion: call .blur() so ui-state-focus class gets removed from last-focused header. See r1945 --- ui/ui.accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 50ed08e61..4059e9a96 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -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(); }, -- cgit v1.2.3