fix some directory anomolies

This commit is contained in:
friendica
2014-12-16 18:33:16 -08:00
parent 6c8ff37591
commit 2fcbb9c4b3
5 changed files with 8 additions and 6 deletions

View File

@@ -594,7 +594,7 @@ function updateConvItems(mode,data) {
function collapseHeight() {
$(".wall-item-body, .directory-item").each(function() {
$(".wall-item-body, .contact-info").each(function() {
if($(this).height() > divmore_height + 10) {
if(! $(this).hasClass('divmore')) {
$(this).divgrow({ initialHeight: divmore_height, moreText: aStr['divgrowmore'], lessText: aStr['divgrowless'], showBrackets: false });

View File

@@ -8,4 +8,4 @@ function dirdetails(hash) {
$(document).ready(function() {
collapseHeight();
}
});