diff app/assets/javascripts/pastes.js @ 76:5635c91f4bfd

Only allow resize input box vertically.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 15:40:39 +0700
parents 37a05df38236
children 6ae3333a0251
line wrap: on
line diff
--- a/app/assets/javascripts/pastes.js	Thu Oct 04 11:01:38 2012 +0700
+++ b/app/assets/javascripts/pastes.js	Thu Oct 04 15:40:39 2012 +0700
@@ -7,8 +7,5 @@
     $('#paste_paste').focus();
     return false;
   });
-  $(window).resize(function() {
-    $('#paste_paste').css('width', '100%');
-  })
   $('#paste_paste').focus();
 })