From 3ca3527d677889742f05cf504b63e54996bee904 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 23 Dec 2009 15:31:28 +0100 Subject: Fix marking reporter's comments. --- bugzillaBugTriage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }); -- cgit