aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tabs.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-03-09 16:03:22 -0400
committerScott González <scott.gonzalez@gmail.com>2015-03-12 07:35:27 -0400
commitf33027840cdac5152599da66635981bbe68c6bda (patch)
treea52f4063e0a2aab02af24d26eee590eba797882e /ui/tabs.js
parent6111b17710ab4e14bb119e735de9cfa9285badab (diff)
downloadjquery-ui-f33027840cdac5152599da66635981bbe68c6bda.tar.gz
jquery-ui-f33027840cdac5152599da66635981bbe68c6bda.zip
Core: Add methods to work around IE active element bugs
Closes gh-1478
Diffstat (limited to 'ui/tabs.js')
-rw-r--r--ui/tabs.js2
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;