aboutsummaryrefslogblamecommitdiffstats
path: root/public/assets/refinery/blog/frontend-40ec94f12c8010262cd9a91effa3695a.js
blob: 3744981d336410d5c98ce0d4a4d60e620ef4cdff (plain) (tree)
1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
$(document).ready(function(){$("#show_blog_post").height($("#show_blog_post").height()),$('#next_prev_article a:not(".home")').live("click",function(){return url=this.href+".js",$("#show_blog_post > *").fadeOut(),$.ajax({url:url,success:function(o){$("#show_blog_post").html(o),new_height=0,$("#show_blog_post > *").each(function(){new_height+=$(this).height()}),$("#show_blog_post").animate({height:new_height})}}),$("html, body").animate({scrollTop:$("body").offset().top},2e3),!1})});