diff options
Diffstat (limited to 'ui/tabs.js')
-rw-r--r-- | ui/tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tabs.js b/ui/tabs.js index 366ebbb51..42ec2d1fc 100644 --- a/ui/tabs.js +++ b/ui/tabs.js @@ -164,7 +164,7 @@ return $.widget( "ui.tabs", { }, _tabKeydown: function( event ) { - var focusedTab = $( this.document[0].activeElement ).closest( "li" ), + var focusedTab = $( $.ui.safeActiveElement( this.document[0] ) ).closest( "li" ), selectedIndex = this.tabs.index( focusedTab ), goingForward = true; |