mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
add some style to divgrowmore
This commit is contained in:
parent
94dd994abc
commit
1064be3a76
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ function updateConvItems(mode,data) {
|
|||
$(".wall-item-body, .contact-info").each(function() {
|
||||
if($(this).height() > divmore_height + 10) {
|
||||
if(! $(this).hasClass('divmore')) {
|
||||
$(this).readmore({collapsedHeight: divmore_height, moreLink: '<a href="#">'+aStr['divgrowmore']+'</a>', lessLink: '<a href="#">'+aStr['divgrowless']+'</a>'});
|
||||
$(this).readmore({collapsedHeight: divmore_height, moreLink: '<a href="#" class="divgrow-showmore">'+aStr['divgrowmore']+'</a>', lessLink: '<a href="#">'+aStr['divgrowless']+'</a>'});
|
||||
$(this).addClass('divmore');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue