From 60f61c804be35eeb8070e9b3eb25cc5a86c28669 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Tue, 17 Jul 2018 20:40:19 -0700 Subject: [PATCH] Fix reply to message w/attachment, dark theme quoted attachment --- js/models/messages.js | 2 +- stylesheets/_theme_dark.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/models/messages.js b/js/models/messages.js index 0bc89b8c9..fce803aa4 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -583,7 +583,7 @@ } }; - const firstAttachment = quote.attachments && quote.attachments[1]; + const firstAttachment = quote.attachments && quote.attachments[0]; return { text: this.createNonBreakingLastSeparator(quote.text), diff --git a/stylesheets/_theme_dark.scss b/stylesheets/_theme_dark.scss index 4a98d3a8b..fc90e38f7 100644 --- a/stylesheets/_theme_dark.scss +++ b/stylesheets/_theme_dark.scss @@ -673,7 +673,7 @@ body.dark-theme { .module-message__generic-attachment__icon { // TODO: this will eventually be a different image - background: url('../images/file-gradient.svg') no-repeat center; + // background: url('../images/file-gradient.svg') no-repeat center; } .module-message__generic-attachment__icon__extension { @@ -963,7 +963,7 @@ body.dark-theme { .module-quote__generic-file__icon { // TODO: this will eventually be a different icon - background: url('../images/file-gradient.svg'); + // background: url('../images/file-gradient.svg'); } .module-quote__generic-file__text { color: $color-dark-05;