aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rwxr-xr-xui/jquery.ui.tabs.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js
index 03f085ea2..c026858ee 100755
--- a/ui/jquery.ui.tabs.js
+++ b/ui/jquery.ui.tabs.js
@@ -568,10 +568,6 @@ $.widget( "ui.tabs", {
url: function( index, url ) {
this.anchors.eq( index ).data( "load.tabs", url );
return this;
- },
-
- length: function() {
- return this.anchors.length;
}
});
@@ -812,6 +808,12 @@ if ( $.uiBackCompat !== false ) {
};
}( jQuery, jQuery.ui.tabs.prototype ) );
+ // length method
+ (function( $, prototype ) {
+ prototype.length = function() {
+ return this.anchors.length;
+ };
+ }( jQuery, jQuery.ui.tabs.prototype ) );
}
})( jQuery );