Skip to content

Commit 9c6efa2

Browse files
author
Klaus Hartl
committed
UI Tabs: added index to ui object passed into event handlers
1 parent f893595 commit 9c6efa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/ui.tabs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ $.widget("ui.tabs", {
3838
return {
3939
options: this.options,
4040
tab: tab,
41-
panel: panel
41+
panel: panel,
42+
index: this.$tabs.index(tab)
4243
};
4344
},
4445
tabify: function(init) {

0 commit comments

Comments
 (0)