mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 17:27:16 +02:00
[ticket/11552] More breadcrumbs adjustments
PHPBB3-11552
This commit is contained in:
@@ -502,12 +502,15 @@ function insert_single_user(formId, user)
|
||||
lastWidth = width;
|
||||
|
||||
if (wrapped) {
|
||||
$this.find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
|
||||
$this.removeClass('wrapped').find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
|
||||
wrapped = false;
|
||||
if ($this.height() <= maxHeight) return;
|
||||
}
|
||||
|
||||
wrapped = true;
|
||||
$this.addClass('wrapped');
|
||||
if ($this.height() <= maxHeight) return;
|
||||
|
||||
for (i = 0; i < classesLength; i ++) {
|
||||
for (j = length; j >= 0; j --) {
|
||||
links.eq(j).addClass('wrapped ' + classes[i]);
|
||||
|
Reference in New Issue
Block a user