mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
UI Tabs: removed equalize extension
This commit is contained in:
parent
7e11903beb
commit
f425cae7c4
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user