diff options
Diffstat (limited to 'setup/scripts.js')
-rw-r--r-- | setup/scripts.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/setup/scripts.js b/setup/scripts.js index c7e2fd1725..a5a19d827d 100644 --- a/setup/scripts.js +++ b/setup/scripts.js @@ -34,6 +34,19 @@ $(function () { } }); +//set document width +$(document).ready(function(){ + width = 0; + $('ul.tabs li').each(function(){ + tabWidth = $(this).width() + 10; + width += tabWidth; + }); + contentWidth = width; + width += 250; + $('body').css('min-width', width); + $('.tabs_contents').css('min-width', contentWidth); +}); + // // END: Messages // ------------------------------------------------------------------ |