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
path: root/setup
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-07-02 19:57:46 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-07-02 19:57:46 +0300
commit3e9b97ef6ca97b51611dfaaa0d2288e609ac5b70 (patch)
tree59ca37201636f00d1014156a9e63b46c269c181a /setup
parent89b75b3a4e94fb33e427281dce12fe474c248291 (diff)
These are local variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'setup')
-rw-r--r--setup/scripts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/scripts.js b/setup/scripts.js
index 192f0e58df..cf73275602 100644
--- a/setup/scripts.js
+++ b/setup/scripts.js
@@ -38,10 +38,10 @@ $(function () {
$(document).ready(function(){
width = 0;
$('ul.tabs li').each(function(){
- tabWidth = $(this).width() + 10;
+ var tabWidth = $(this).width() + 10;
width += tabWidth;
});
- contentWidth = width;
+ var contentWidth = width;
width += 250;
$('body').css('min-width', width);
$('.tabs_contents').css('min-width', contentWidth);