add divmore to directory entries

This commit is contained in:
friendica
2014-12-16 17:29:16 -08:00
parent 789e025eab
commit 07e747ed0e
3 changed files with 4 additions and 3 deletions

View File

@@ -592,7 +592,7 @@ function updateConvItems(mode,data) {
function collapseHeight() {
$(".wall-item-body").each(function() {
$(".wall-item-body, .directory-item").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 });