Skip to content
Permalink
Browse files

UI Tabs: removed equalize extension

  • Loading branch information...
Klaus Hartl
Klaus Hartl committed Nov 5, 2008
1 parent 7e11903 commit f425cae7c4e894c6aa9fc1fefa8e5a426864f959
Showing with 0 additions and 14 deletions.
  1. +0 −14 ui/ui.tabs.js
@@ -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);

0 comments on commit f425cae

Please sign in to comment.
You can’t perform that action at this time.