diff --git a/app/assets/javascripts/local.js b/app/assets/javascripts/local.js index 0af15bd..52a384f 100644 --- a/app/assets/javascripts/local.js +++ b/app/assets/javascripts/local.js @@ -32,10 +32,13 @@ $(function() { $(this).scrollTop(scrollTop-Math.round(delta)); }); - // Forums fast reply - $("a#fastReply").on('click', function() { - $('#reply').fadeIn('slow') + $("a.fastReply").on('click', function() { + $('#reply').fadeIn('fast', + function() { + $(this).focus(); + $("a.fastReply").hide(); + }); }); // Gather stuff diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index b8e813e..ef93084 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -54,7 +54,7 @@