aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/javascripts/refinerycms-blog.js8
1 files changed, 4 insertions, 4 deletions
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