summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-03-21 17:39:29 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-03-22 12:17:52 +0100
commit3d9d88e1a1c2c4e82fee7cd1f3a58ff32fd22978 (patch)
tree6d367256fce7311e3783ad6bff78ae05463c6dce /web-ui
parent626aae40b9407a1b044c33784dfd42dff784ad9c (diff)
Issue #649: Fix highlighting
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/js/mail_list/ui/mail_list.js3
-rw-r--r--web-ui/app/js/mail_view/ui/mail_view.js3
2 files changed, 2 insertions, 4 deletions
diff --git a/web-ui/app/js/mail_list/ui/mail_list.js b/web-ui/app/js/mail_list/ui/mail_list.js
index 0f6c4fb5..af4821a8 100644
--- a/web-ui/app/js/mail_list/ui/mail_list.js
+++ b/web-ui/app/js/mail_list/ui/mail_list.js
@@ -81,8 +81,7 @@ define(
this.renderMails = function (mails) {
_.each(mails, this.appendMail, this);
this.trigger(document, events.search.highlightResults, {where: '#mail-list'});
- this.trigger(document, events.search.highlightResults, {where: '.subjectArea'});
- this.trigger(document, events.search.highlightResults, {where: '.msg-header .recipients'});
+ this.trigger(document, events.search.highlightResults, {where: '.mail-read-view__header'});
};
this.triggerScrollReset = function () {
diff --git a/web-ui/app/js/mail_view/ui/mail_view.js b/web-ui/app/js/mail_view/ui/mail_view.js
index 8295d66d..85d536f9 100644
--- a/web-ui/app/js/mail_view/ui/mail_view.js
+++ b/web-ui/app/js/mail_view/ui/mail_view.js
@@ -117,8 +117,7 @@ define(
- this.trigger(document, events.search.highlightResults, {where: '.subjectArea'});
- this.trigger(document, events.search.highlightResults, {where: '.msg-header .recipients'});
+ this.trigger(document, events.search.highlightResults, {where: '.mail-read-view__header'});
this.trigger(document, events.ui.replyBox.showReplyContainer);
this.attachTagCompletion(this.attr.mail);