r2167 - trunk/ui

r2167 - trunk/ui


Author: rdworth
Date: Mon Mar 2 04:37:00 2009
New Revision: 2167
Modified:
trunk/ui/ui.accordion.js
Log:
accordion: call .blur() so ui-state-focus class gets removed from
last-focused header. See r1945
Modified: trunk/ui/ui.accordion.js
==============================================================================
--- trunk/ui/ui.accordion.js    (original)
+++ trunk/ui/ui.accordion.js    Mon Mar 2 04:37:00 2009
@@ -354,7 +354,7 @@
        }
-        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();
    },