We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba704e3 commit 723782dCopy full SHA for 723782d
1 file changed
ui/ui.tabs.js
@@ -78,6 +78,24 @@ $.widget("ui.tabs", {
78
79
var self = this, o = this.options;
80
81
+ this.$lis
82
+ .hover(
83
+ function() {
84
+ $(this).addClass('ui-state-hover');
85
+ },
86
87
+ $(this).removeClass('ui-state-hover');
88
+ }
89
+ );
90
+
91
+ this.$tabs
92
+ .focus(function() {
93
+ $(this).parent().addClass('ui-state-focus');
94
+ })
95
+ .blur(function() {
96
+ $(this).parent().removeClass('ui-state-focus');
97
98
99
this.$tabs.each(function(i, a) {
100
// inline tab
101
if (a.hash && a.hash.replace('#', '')) // Safari 2 reports '#' for an empty hash
0 commit comments