mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 00:06:01 +01:00
Fix invalid selector in function displayTabsButtons() (#33392).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19748 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -467,7 +467,7 @@ function displayTabsButtons() {
|
||||
numHidden++;
|
||||
}
|
||||
});
|
||||
var bw = $(el).parents('div.tabs-buttons').outerWidth(true);
|
||||
var bw = $(el).find('div.tabs-buttons').outerWidth(true);
|
||||
if ((tabsWidth < el.width() - bw) && (lis.length === 0 || lis.first().is(':visible'))) {
|
||||
el.find('div.tabs-buttons').hide();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user