UI Tabs: removed equalize extension

This commit is contained in:
Klaus Hartl 2008-11-05 11:02:06 +00:00
parent 7e11903beb
commit f425cae7c4

View File

@ -557,18 +557,4 @@ $.extend($.ui.tabs.prototype, {
} }
}); });
$.extend($.ui.tabs.prototype, {
equalize: function() {
var heights = this.$panels.map(function() {
return $(this).height();
})
.get()
.sort(function(a, b) {
return b - a;
});
// set all panels to highest height
this.$panels.css('height', heights[0]);
}
});
})(jQuery); })(jQuery);