fix mor link height
This commit is contained in:
@@ -323,8 +323,21 @@
|
||||
}
|
||||
|
||||
function hidden_morelinkMoment(){
|
||||
|
||||
TxtMomentHeght = $('#moments .__content').height();
|
||||
limitHeight = 16 * 8;
|
||||
|
||||
console.log(TxtMomentHeght);
|
||||
|
||||
$morelink = $('#moments .more_link');
|
||||
|
||||
if(TxtMomentHeght <= limitHeight){
|
||||
console.log("salut");
|
||||
$morelink.addClass('is_active');
|
||||
|
||||
}
|
||||
|
||||
|
||||
$morelink.click(function(e) {
|
||||
e.preventDefault();
|
||||
$('#moments .__content').addClass('is_active');
|
||||
|
||||
Reference in New Issue
Block a user