another collapseHeight() fix
This commit is contained in:
parent
9431112f77
commit
dec37b3dbe
@ -616,7 +616,7 @@ function updateConvItems(mode,data) {
|
|||||||
|
|
||||||
function collapseHeight() {
|
function collapseHeight() {
|
||||||
$(".wall-item-content, .directory-collapse").each(function() {
|
$(".wall-item-content, .directory-collapse").each(function() {
|
||||||
var orgHeight = $(this).height();
|
var orgHeight = $(this).outerHeight(true);
|
||||||
if(orgHeight > divmore_height + 10) {
|
if(orgHeight > divmore_height + 10) {
|
||||||
if(! $(this).hasClass('divmore')) {
|
if(! $(this).hasClass('divmore')) {
|
||||||
$(this).readmore({
|
$(this).readmore({
|
||||||
|
Reference in New Issue
Block a user