mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00: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:
parent
1b91549ed4
commit
c8a58674cf
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user