fix a slight regression
This commit is contained in:
parent
b6543beca2
commit
0405a49df1
@ -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) {
|
||||
|
Reference in New Issue
Block a user