diff options
author | friendica <info@friendica.com> | 2012-07-24 23:33:42 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-24 23:33:42 -0700 |
commit | 2534075afe1b56396221a58a66051a3b7ae2f21d (patch) | |
tree | 913a91f13774fe6391ef285cfc6c958ddc4f059a /js/main.js | |
parent | 6911beca2f1d88a9e26c1dc110b2547a1b075951 (diff) | |
download | volse-hubzilla-2534075afe1b56396221a58a66051a3b7ae2f21d.tar.gz volse-hubzilla-2534075afe1b56396221a58a66051a3b7ae2f21d.tar.bz2 volse-hubzilla-2534075afe1b56396221a58a66051a3b7ae2f21d.zip |
see if this works for getting rid of scrollbars
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/js/main.js b/js/main.js index d86107c5b..fc24aafe2 100644 --- a/js/main.js +++ b/js/main.js @@ -708,35 +708,6 @@ jQuery.timeago.settings.strings = { numbers: tago17 }; -//$('.wall-item-content').each(function() { - -// var totalHeight = 0; -// $(this).children().each(function(){ -// totalHeight += $(this).outerHeight(true); // true = include margins -// }); -// if(totalHeight > 400) { -// $(this).css({'overflow-y':'hidden','max-height' : '400px'}); - -// } -// else { -// $(this).css('overflow-y','visible'); -// } -// }); - - -$('.wall-item-content').css({'overflow-y':'hidden','max-height' : '400px'}); - -$('.wall-item-content').focus( - function() { - $(this).css('overflow-y','visible') - }); - -$('.wall-item-content').focusout( - function() { - $(this).css( { 'overflow-y' : 'hidden','max-height' : '400px'}); - } -); - $("abbr.wall-item-ago-time").timeago(); });
\ No newline at end of file |