diff app/assets/javascripts/zp.new.js @ 262:45bd94c70896

Fix class name for form autoresizer.
author edogawaconan <me@myconan.net>
date Tue, 15 Oct 2013 22:42:24 +0900
parents cbd5819d7468
children 3ce44f960d3a
line wrap: on
line diff
--- a/app/assets/javascripts/zp.new.js	Tue Oct 15 22:40:08 2013 +0900
+++ b/app/assets/javascripts/zp.new.js	Tue Oct 15 22:42:24 2013 +0900
@@ -10,7 +10,7 @@
     init: function() {
       if (this.input().length === 0) { return }
       $(document).on('click', "#reset_paste", $.proxy(this.clear, this))
-      this.input().autosize({ className: 'mirrored_text row-fluid', append: "\n"});
+      this.input().autosize({ className: 'mirrored_text form-control', append: "\n"});
       $.autosize_box_fix($(".mirrored_text"))
       this.input().focus()
     }