diff options
author | Felix Nagel <info@felixnagel.com> | 2012-11-28 23:29:15 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-11-28 23:29:15 +0100 |
commit | 36533a718da41d4dc82286d2b7ff52a34481dbbb (patch) | |
tree | 481804cc832f9b8223fd243de8f6ca8dbd119fa2 /ui/jquery.ui.tabs.js | |
parent | 4e68c526ab464facc56e5b85ca67f4c6648d2f21 (diff) | |
parent | 37ea7341823e7dfe54f37596b1d054b8a2e5c3de (diff) | |
download | jquery-ui-36533a718da41d4dc82286d2b7ff52a34481dbbb.tar.gz jquery-ui-36533a718da41d4dc82286d2b7ff52a34481dbbb.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r-- | ui/jquery.ui.tabs.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 0b6480123..dcb0c2768 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -497,6 +497,8 @@ $.widget( "ui.tabs", { if ( heightStyle === "fill" ) { maxHeight = parent.height(); + maxHeight -= this.element.outerHeight() - this.element.height(); + this.element.siblings( ":visible" ).each(function() { var elem = $( this ), position = elem.css( "position" ); |