mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion demo: Refresh accordion after sorting
This commit is contained in:
parent
69a3d94a06
commit
c879f62f7b
@ -28,6 +28,9 @@
|
||||
// IE doesn't register the blur when sorting
|
||||
// so trigger focusout handlers to remove .ui-state-focus
|
||||
ui.item.children( "h3" ).triggerHandler( "focusout" );
|
||||
|
||||
// Refresh accordion to handle new order
|
||||
$( this ).accordion( "refresh" );
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user