##// END OF EJS Templates
Fix for multiple tabs on the same page (#20271)....
Jean-Philippe Lang -
r14242:63bc3d4f89a6
parent child
Show More
@@ -352,11 +352,12 function moveTabLeft(el) {
352
352
353 function displayTabsButtons() {
353 function displayTabsButtons() {
354 var lis;
354 var lis;
355 var tabsWidth = 0;
355 var tabsWidth;
356 var el;
356 var el;
357 $('div.tabs').each(function() {
357 $('div.tabs').each(function() {
358 el = $(this);
358 el = $(this);
359 lis = el.find('ul').children();
359 lis = el.find('ul').children();
360 tabsWidth = 0;
360 lis.each(function(){
361 lis.each(function(){
361 if ($(this).is(':visible')) {
362 if ($(this).is(':visible')) {
362 tabsWidth += $(this).width() + 6;
363 tabsWidth += $(this).width() + 6;
General Comments 0
You need to be logged in to leave comments. Login now