Skip to content
Permalink
Browse files

Tabs manipulation demo: Update for aria-controls.

  • Loading branch information...
scottgonzalez committed May 18, 2012
1 parent 5c9d9f9 commit 3ccf86cffb61b83a5f9917053b720ecb6e3b51e7
Showing with 2 additions and 2 deletions.
  1. +2 −2 demos/tabs/manipulation.html
@@ -76,8 +76,8 @@
// close icon: removing the tab on click
$( "#tabs span.ui-icon-close" ).live( "click", function() {
$( this ).closest( "li" ).remove();
$( "#" + $( this ).prev().attr( "aria-controls" ) ).remove();
var panelId = $( this ).closest( "li" ).remove().attr( "aria-controls" );
$( "#" + panelId ).remove();
tabs.tabs( "refresh" );
});
});

0 comments on commit 3ccf86c

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