add some style to divgrowmore
This commit is contained in:
parent
94dd994abc
commit
1064be3a76
@ -598,7 +598,7 @@ function updateConvItems(mode,data) {
|
|||||||
$(".wall-item-body, .contact-info").each(function() {
|
$(".wall-item-body, .contact-info").each(function() {
|
||||||
if($(this).height() > divmore_height + 10) {
|
if($(this).height() > divmore_height + 10) {
|
||||||
if(! $(this).hasClass('divmore')) {
|
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');
|
$(this).addClass('divmore');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user