javascript - Stop script from working if screen height smaller than 790 : $(function(){
if($("#PopularPosts1").length) {var o=$("#PopularPosts1"),t=$("#PopularPosts1").offset().top,i=$("#PopularPosts1").height();$(window).scroll(function(){var s=$("#upfooter2").offset().top-i-20,f=$(window).scrollTop();if(f>t?o.css({position:"fixed",top:48,width: 318}):o.css("position","static"),f>s){var n=s-f;o.css({top:n})}})}
});
