diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-26 09:14:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-26 09:14:07 +0000 |
commit | 63bc3d4f89a688681f83a49b1eb8f4d320f8ac03 (patch) | |
tree | 642cf09551023f11036468390b2a3799d3db18ed /public | |
parent | 42238a74f46423bf3d7514228e7cc818369a87b9 (diff) | |
download | redmine-63bc3d4f89a688681f83a49b1eb8f4d320f8ac03.tar.gz redmine-63bc3d4f89a688681f83a49b1eb8f4d320f8ac03.zip |
Fix for multiple tabs on the same page (#20271).
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@14624 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/application.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 55883fc88..5ff306e6d 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -352,11 +352,12 @@ function moveTabLeft(el) { function displayTabsButtons() { var lis; - var tabsWidth = 0; + var tabsWidth; var el; $('div.tabs').each(function() { el = $(this); lis = el.find('ul').children(); + tabsWidth = 0; lis.each(function(){ if ($(this).is(':visible')) { tabsWidth += $(this).width() + 6; |