some work on directory

This commit is contained in:
Mario Vavti
2015-06-23 13:06:22 +02:00
parent a4775aab9b
commit b6c4601d8f
6 changed files with 116 additions and 131 deletions

View File

@@ -615,7 +615,7 @@ function updateConvItems(mode,data) {
function collapseHeight() {
$(".wall-item-body, .contact-info").each(function() {
$(".wall-item-body, .directory-collapse").each(function() {
var orgHeight = $(this).height();
if(orgHeight > divmore_height + 10) {
if(! $(this).hasClass('divmore')) {

View File

@@ -38,4 +38,4 @@ function postRatings() {
$(document).ready(function() {
collapseHeight();
});
});