mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
bug fix #1135, show more is usable again
This commit is contained in:
parent
4ec5974074
commit
2743514791
10 changed files with 206 additions and 111 deletions
|
@ -48,7 +48,7 @@
|
|||
$(function() {
|
||||
$.ajaxSetup({cache: false});
|
||||
|
||||
collapseHeight();
|
||||
//collapseHeight();
|
||||
|
||||
/* setup tooltips *//*
|
||||
$("a,.tt").each(function(){
|
||||
|
@ -402,12 +402,10 @@
|
|||
elemName = elems + ' ' + elemName;
|
||||
}
|
||||
$(elemName).each(function() {
|
||||
if($(this).height() > 350) {
|
||||
$('html').height($('html').height());
|
||||
$(this).divgrow({ initialHeight: 300, showBrackets: false, speed: 0 });
|
||||
$(this).addClass('divmore');
|
||||
$('html').height('auto');
|
||||
}
|
||||
$('html').height($('html').height());
|
||||
$(this).readmore({maxheight:350 , moreLink:'<a href="#" class="showmore">+ Show more</a>', lessLink:'<a href="#" class="showmore">+ Show less</a>'});
|
||||
$(this).addClass('divmore');
|
||||
$('html').height('auto');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue