this._container.toggle();
if (this._container.is(':visible')) {
- this._quickReplyButtons.hide();
+ this._quickReplyButtons.each(function() {
+ var $button = $(this);
+ if ($button.parent()[0].tagName === 'LI') {
+ $button.parent().hide();
+ }
+ else {
+ $button.hide();
+ }
+ });
setTimeout((function() {
$(document).trigger('resize');
// display form submit
$messageBody.next().show();
- this._quickReplyButtons.show();
+ this._quickReplyButtons.each(function() {
+ var $button = $(this);
+ if ($button.parent()[0].tagName === 'LI') {
+ $button.parent().show();
+ }
+ else {
+ $button.show();
+ }
+ });
},
/**