1jQuery(function($) { 2 3 $(".comment-list").find("article").each(function() { 4 5 var article = $(this); 6 var commentText = article.children(".comment-text"); 7 var commentExcerpt = commentText.children(".comment-excerpt"); 8 var commentMore = commentText.children(".comment-more"); 9 var excerptHeight = commentExcerpt.height(); 10 var moreHeight = commentMore.height(); 11 var readMore = article.children(".read-more"); 12 commentMore.hide(); 13 commentText.height(excerptHeight); 14 15 $(window).resize(function() { 16 if ( moreHeight != commentMore.height() ) { 17 if ( commentMore.css("display") == "none" ) { 18 excerptHeight = commentExcerpt.height(); 19 commentText.css("height", excerptHeight + "px"); 20 } else { 21 moreHeight = commentMore.height(); 22 commentText.css("height", moreHeight + "px"); 23 } 24 } 25 }); 26 27 readMore.find("a").click(function() { 28 commentExcerpt.hide(); 29 readMore.hide(); 30 commentMore.show(); 31 commentText.not(":animated").animate({ 32 "height": moreHeight + 12 + "px" 33 }); 34 return false; 35 }); 36 }); 37 38});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.