mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:15:13 +00:00
fix a slight regression
This commit is contained in:
parent
b6543beca2
commit
0405a49df1
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ function updateConvItems(mode,data) {
|
|||
function collapseHeight() {
|
||||
var origContentHeight = parseInt($("#region_2").height());
|
||||
$(".wall-item-content, .directory-collapse").each(function() {
|
||||
var orgHeight = parseInt($(this).height());
|
||||
var orgHeight = parseInt($(this).css('height'));
|
||||
if(orgHeight > divmore_height) {
|
||||
if(! $(this).hasClass('divmore')) {
|
||||
if($(window).scrollTop() + ($(window).height() - divmore_height) < $(this).offset().top) {
|
||||
|
|
Loading…
Reference in a new issue