From 43e10307a672369c057a9ed23ebf6b3f9f660e8d Mon Sep 17 00:00:00 2001
From: Michael Nutt <michael@nuttnet.net>
Date: Sun, 27 Feb 2011 02:03:55 -0500
Subject: [PATCH] fix broken jquery autoresize plugin

---
 public/javascripts/publisher.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/public/javascripts/publisher.js b/public/javascripts/publisher.js
index 8fe797c10a..5616eab575 100644
--- a/public/javascripts/publisher.js
+++ b/public/javascripts/publisher.js
@@ -7,11 +7,11 @@
 var Publisher = {
   close: function(){
     Publisher.form().addClass('closed');
-    Publisher.form().find("textarea").css('min-height', '');
+    Publisher.form().find("textarea.ac_input").css('min-height', '');
   },
   open: function(){
     Publisher.form().removeClass('closed');
-    Publisher.form().find("textarea").css('min-height', '42px');
+    Publisher.form().find("textarea.ac_input").css('min-height', '42px');
     Publisher.determineSubmitAvailability();
   },
   cachedForm : false,
@@ -311,7 +311,7 @@ var Publisher = {
     Publisher.cachedInput = false;
     Publisher.cachedHiddenInput = false;
     Publisher.cachedSubmit = false;
-    
+
     Publisher.bindServiceIcons();
     Publisher.bindPublicIcon();
 
-- 
GitLab