mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/13727] Fix JS that resizes breadcrumbs
PHPBB3-13727
This commit is contained in:
parent
499088b62f
commit
0b52eb2298
1 changed files with 7 additions and 1 deletions
|
@ -410,7 +410,13 @@ function parseDocument($container) {
|
|||
// Function that checks breadcrumbs
|
||||
function check() {
|
||||
var height = $this.height(),
|
||||
width = $body.width();
|
||||
width;
|
||||
|
||||
// Test max-width set in code for .navlinks above
|
||||
width = parseInt($this.css('max-width'));
|
||||
if (!width) {
|
||||
width = $body.width();
|
||||
}
|
||||
|
||||
maxHeight = parseInt($this.css('line-height'));
|
||||
$links.each(function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue