mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 15:11:40 +02:00
[ticket/13727] Fix JS that resizes breadcrumbs
PHPBB3-13727
This commit is contained in:
@@ -410,7 +410,13 @@ function parseDocument($container) {
|
||||
// Function that checks breadcrumbs
|
||||
function check() {
|
||||
var height = $this.height(),
|
||||
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() {
|
||||
|
Reference in New Issue
Block a user