Skip to content

Commit

Permalink
Do not auto-expand the quick reply on quoting
Browse files Browse the repository at this point in the history
Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Jun 27, 2014
1 parent 0e3eefd commit 44c72a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions themes/default/scripts/topic.js
Expand Up @@ -274,11 +274,10 @@ QuickReply.prototype.quote = function (iMessageId, xDeprecated)
{
ajax_indicator(true);

// Collapsed on a quote, expand it but don't update the user setting
if (this.bCollapsed)
{
this.bCollapsed = !this.bCollapsed;
this.swap(false, false);
window.location.href = elk_prepareScriptUrl(this.opt.sScriptUrl) + 'action=post;quote=' + iMessageId + ';topic=' + this.opt.iTopicId + '.' + this.opt.iStart;
return false;
}

// Insert the quote
Expand Down

0 comments on commit 44c72a0

Please sign in to comment.