# HG changeset patch # User Edho Arief # Date 1349293115 -25200 # Node ID 37a05df382367b1e47c1228eb9e6c351b6ce3be2 # Parent 6a9e0c09bbd83200455b5a37870c627ae3efce5a Immediately focus on input box. diff -r 6a9e0c09bbd8 -r 37a05df38236 app/assets/javascripts/pastes.js --- a/app/assets/javascripts/pastes.js Thu Oct 04 02:37:41 2012 +0700 +++ b/app/assets/javascripts/pastes.js Thu Oct 04 02:38:35 2012 +0700 @@ -10,4 +10,5 @@ $(window).resize(function() { $('#paste_paste').css('width', '100%'); }) + $('#paste_paste').focus(); })