Przejdź do zawartości

MediaWiki:Common.js: Różnice pomiędzy wersjami

m
brak opisu edycji
mNie podano opisu zmian
mNie podano opisu zmian
Linia 22: Linia 22:
$('head').append('<link rel="stylesheet" type="text/css" href="/fonts/fonts.css">');
$('head').append('<link rel="stylesheet" type="text/css" href="/fonts/fonts.css">');
}
}
/* ustawianie tej samej wysokości dla każdego llawlyfr-textu */
$('.llawlyfr').each(function(index) {
let textEl = $(this).find('.llawlyfr-text');
let heights = [];
textEl.each(function(index) {
heights.push($(this).height());
});
textEl.each(function(index) {
$(this).height(Math.max.apply( Math, heights ));
});
});
});
});