From b617d540b96d1a711ad42e93c37e3eda9a1e1fb3 Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Sat, 20 Nov 2010 15:28:49 -0600 Subject: Do the height at the end...? --- public/javascripts/refinerycms-blog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'public') diff --git a/public/javascripts/refinerycms-blog.js b/public/javascripts/refinerycms-blog.js index 2b887ab..5b586a0 100644 --- a/public/javascripts/refinerycms-blog.js +++ b/public/javascripts/refinerycms-blog.js @@ -8,10 +8,7 @@ $(document).ready(function(){ $.ajax({ url: url, success: function(data) { - $('#blog_post').html(data).fadeIn() - $('#show_blog_post').animate({ - height: 'auto' - }); + $('#blog_post').html(data).fadeIn(); $.ajax({ url: nav_url, success: function(data) { @@ -20,6 +17,9 @@ $(document).ready(function(){ }) } }); + $('#show_blog_post').animate({ + height: 'auto' + }); return false; }) }) \ No newline at end of file -- cgit v1.2.3