Skip to content
Permalink
Browse files

Accordion demo: Refresh accordion after sorting

  • Loading branch information
scottgonzalez committed Apr 23, 2014
1 parent 69a3d94 commit c879f62f7bafa091e89075c84b22b756bef36dbe
Showing with 3 additions and 0 deletions.
  1. +3 −0 demos/accordion/sortable.html
@@ -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" );
}
});
});

0 comments on commit c879f62

Please sign in to comment.
You can’t perform that action at this time.