Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'setup/scripts.js')
-rw-r--r--setup/scripts.js13
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
// ------------------------------------------------------------------