mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11552] Change breadcrumbs structure
PHPBB3-11552
This commit is contained in:
@@ -446,7 +446,7 @@ function insert_single_user(formId, user)
|
||||
$('.breadcrumbs').each(function() {
|
||||
var $this = $(this),
|
||||
$body = $('body'),
|
||||
links = $this.find('a'),
|
||||
links = $this.find('.crumb'),
|
||||
length = links.length,
|
||||
classes = ['wrapped-wide', 'wrapped-medium', 'wrapped-small'],
|
||||
classesLength = classes.length,
|
||||
@@ -474,7 +474,7 @@ function insert_single_user(formId, user)
|
||||
lastWidth = width;
|
||||
|
||||
if (wrapped) {
|
||||
$this.find('a.wrapped').removeClass('wrapped ' + classes.join(' '));
|
||||
$this.find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
|
||||
wrapped = false;
|
||||
if ($this.height() <= maxHeight) return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user