mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/11552] Fixes for tabs and breadcrumbs
PHPBB3-11552
This commit is contained in:
parent
378b2dfa96
commit
9ccccb8baa
1 changed files with 4 additions and 2 deletions
|
@ -519,7 +519,7 @@ function insert_single_user(formId, user)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < classesLength; i ++) {
|
for (i = 0; i < classesLength; i ++) {
|
||||||
for (j = length; j > 0; j --) {
|
for (j = length - 1; j >= 0; j --) {
|
||||||
links.eq(j).addClass('wrapped ' + classes[i]);
|
links.eq(j).addClass('wrapped ' + classes[i]);
|
||||||
if ($this.height() <= maxHeight) {
|
if ($this.height() <= maxHeight) {
|
||||||
return;
|
return;
|
||||||
|
@ -653,14 +653,16 @@ function insert_single_user(formId, user)
|
||||||
total = availableTabs.length,
|
total = availableTabs.length,
|
||||||
i, tab;
|
i, tab;
|
||||||
|
|
||||||
for (i = total; i > 0; i --) {
|
for (i = total - 1; i >= 0; i --) {
|
||||||
tab = availableTabs.eq(i);
|
tab = availableTabs.eq(i);
|
||||||
menu.prepend(tab.clone(true));
|
menu.prepend(tab.clone(true));
|
||||||
tab.hide();
|
tab.hide();
|
||||||
if ($this.height() <= maxHeight) {
|
if ($this.height() <= maxHeight) {
|
||||||
|
menu.find('a').click(function() { check(true); });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
menu.find('a').click(function() { check(true); });
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleLink.click(function() {
|
toggleLink.click(function() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue