reset publisher css height when "cleared" (fixes #2867)

This commit is contained in:
Florian Staudacher 2012-03-30 16:02:58 +02:00
parent 125be41868
commit 859c0b93b5

View file

@ -67,7 +67,7 @@ app.views.Publisher = Backbone.View.extend({
open : function() {
$(this.el).removeClass('closed');
this.$("#publisher_textarea_wrapper").addClass('active');
this.$("textarea.ac_input").css('min-height', '42px');
this.$("textarea").css('height', '42px');
return this;
},
@ -75,7 +75,7 @@ app.views.Publisher = Backbone.View.extend({
close : function() {
$(this.el).addClass("closed");
this.$("#publisher_textarea_wrapper").removeClass("active");
this.$("textarea.ac_input").css('min-height', '');
this.$("textarea").css('height', '');
return this;
}