aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 0370890..68aa2ee 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -541,8 +541,7 @@ bzPage.prototype.setBranding = function () {
// mark suspicious components
// FIXME use https://bugzilla.redhat.com/show_bug.cgi?id=538818 for testing
- console.log("component = " + this.component);
- if (suspiciousComponents && (suspiciousComponents.indexOf(this.component) != -1)) {
+ if (suspiciousComponents && isInList(this.component,suspiciousComponents)) {
$("#bz_component_edit_container",this.doc).
css({
"background-color": "red",