aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js2
-rwxr-xr-xview/tpl/direntry.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 4700f79ca..57fdb6c88 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -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 });
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index cdc6f1f97..e77744e00 100755
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -1,4 +1,4 @@
-<div class="directory-item lframe" id="directory-item-{{$entry.id}}" >
+<div class="directory-item lframe divmore" id="directory-item-{{$entry.id}}" >
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" >
<div class="contact-photo" id="directory-photo-{{$entry.id}}" >