1
0
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:
Vjacheslav Trushkin
2013-09-15 00:40:37 +03:00
parent 284fb30958
commit b84f0791b2
3 changed files with 11 additions and 11 deletions

View File

@@ -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;
}