comparison app/assets/javascripts/pastes.js @ 45:37a05df38236

Immediately focus on input box.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 02:38:35 +0700
parents 6a9e0c09bbd8
children 5635c91f4bfd
comparison
equal deleted inserted replaced
44:6a9e0c09bbd8 45:37a05df38236
8 return false; 8 return false;
9 }); 9 });
10 $(window).resize(function() { 10 $(window).resize(function() {
11 $('#paste_paste').css('width', '100%'); 11 $('#paste_paste').css('width', '100%');
12 }) 12 })
13 $('#paste_paste').focus();
13 }) 14 })