Defect #33392 » 0001-Fix-invalid-selector-in-displayTabsButtons-function_v2.patch
public/javascripts/application.js | ||
---|---|---|
467 | 467 |
numHidden++; |
468 | 468 |
} |
469 | 469 |
}); |
470 |
var bw = $(el).parents('div.tabs-buttons').outerWidth(true);
|
|
470 |
var bw = $(el).find('div.tabs-buttons').outerWidth(true);
|
|
471 | 471 |
if ((tabsWidth < el.width() - bw) && (lis.length === 0 || lis.first().is(':visible'))) { |
472 | 472 |
el.find('div.tabs-buttons').hide(); |
473 | 473 |
} else { |