aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-12-23 15:31:28 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-12-23 15:31:28 +0100
commit3ca3527d677889742f05cf504b63e54996bee904 (patch)
treef5c986f83eecbb89e5825cd10667334c8fd1a41c
parente47ce4dcb3d400531c3bfbec8e6a1638a1cf0d62 (diff)
downloadbugzilla-triage-3ca3527d677889742f05cf504b63e54996bee904.tar.gz
Fix marking reporter's comments.
-rw-r--r--bugzillaBugTriage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 2f0da6d..5d5e761 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -511,7 +511,7 @@ BzPage.prototype.checkComments = function () {
Array.forEach(comments,function (item) {
var email = item.getElementsByClassName("vcard")[0].
getElementsByTagName("a")[0].textContent;
- if (new RegExp(this.reporter).test(email)) {
+ if (new RegExp(that.reporter).test(email)) {
item.style.backgroundColor = ReporterColor.toString();
}
});