1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/11552] Fixes for tabs and breadcrumbs

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin 2013-09-15 18:19:15 +03:00
parent 378b2dfa96
commit 9ccccb8baa

View File

@ -519,7 +519,7 @@ function insert_single_user(formId, user)
}
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]);
if ($this.height() <= maxHeight) {
return;
@ -653,14 +653,16 @@ function insert_single_user(formId, user)
total = availableTabs.length,
i, tab;
for (i = total; i > 0; i --) {
for (i = total - 1; i >= 0; i --) {
tab = availableTabs.eq(i);
menu.prepend(tab.clone(true));
tab.hide();
if ($this.height() <= maxHeight) {
menu.find('a').click(function() { check(true); });
return;
}
}
menu.find('a').click(function() { check(true); });
}
toggleLink.click(function() {