reset publisher css height when "cleared" (fixes #2867)
This commit is contained in:
parent
125be41868
commit
859c0b93b5
1 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ app.views.Publisher = Backbone.View.extend({
|
||||||
open : function() {
|
open : function() {
|
||||||
$(this.el).removeClass('closed');
|
$(this.el).removeClass('closed');
|
||||||
this.$("#publisher_textarea_wrapper").addClass('active');
|
this.$("#publisher_textarea_wrapper").addClass('active');
|
||||||
this.$("textarea.ac_input").css('min-height', '42px');
|
this.$("textarea").css('height', '42px');
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
@ -75,7 +75,7 @@ app.views.Publisher = Backbone.View.extend({
|
||||||
close : function() {
|
close : function() {
|
||||||
$(this.el).addClass("closed");
|
$(this.el).addClass("closed");
|
||||||
this.$("#publisher_textarea_wrapper").removeClass("active");
|
this.$("#publisher_textarea_wrapper").removeClass("active");
|
||||||
this.$("textarea.ac_input").css('min-height', '');
|
this.$("textarea").css('height', '');
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue