From da525ae928656ebd40ad4bbf3b3ed66ce0c9bfcf Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Fri, 11 Dec 2015 22:32:53 +0100 Subject: [PATCH] Remove useless variable. Signed-off-by: Hugues Peccatte --- setup/scripts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/scripts.js b/setup/scripts.js index cf73275602..e912bec005 100644 --- a/setup/scripts.js +++ b/setup/scripts.js @@ -38,8 +38,7 @@ $(function () { $(document).ready(function(){ width = 0; $('ul.tabs li').each(function(){ - var tabWidth = $(this).width() + 10; - width += tabWidth; + width += $(this).width() + 10; }); var contentWidth = width; width += 250;