aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rhbzpage.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 5e8291d..cb3f636 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -657,10 +657,11 @@ RHBugzillaPage.prototype.analyzeXorgLog = function analyzeXorgLog(attachID) {
return (that.RE.soughtLines.test(line));
});
// Remove headers
- if (results.length >= 3) {
- results.splice(0, 3);
+ if (results.length >= 1) {
+ results.splice(0, 1);
}
if (results.length > 0) {
+
results.forEach(function(l) {
preElem.innerHTML += l + "\n";
});