aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bug-page-mod.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/bug-page-mod.js')
-rw-r--r--data/lib/bug-page-mod.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/data/lib/bug-page-mod.js b/data/lib/bug-page-mod.js
index 192900c..a7fb7e7 100644
--- a/data/lib/bug-page-mod.js
+++ b/data/lib/bug-page-mod.js
@@ -43,7 +43,8 @@ function tweakBugzilla(d) {
// Put the quicksearch text in the quicksearch boxes
quicksearchHandler(d);
- if (!d.getElementById("comments")) // don't process the mid-air collision pages
+ if (!d.getElementById("comments")) // don't process the mid-air collision
+ // pages
return;
// Make the comment box bigger ... TODO not necessary on RH BZ, but doesn't hurt
@@ -270,7 +271,8 @@ function tweakBugzilla(d) {
item = historyItems[++i].querySelectorAll("td")
ccPrefix = (trimContent(item[0]) == 'CC') ?
'<span class="bztw_cc bztw_historyitem">' : '<span class="bztw_historyitem">';
- // avoid showing a trailing semicolon if the previous entry wasn't a CC and this one is
+ // avoid showing a trailing semicolon if the previous entry
+ // wasn't a CC and this one is
var prefix = ccSuffix + ccPrefix;
// check to see if this is a flag setting
flagsFound = findFlag(item);
@@ -601,7 +603,8 @@ AttachmentFlagHandlerCtor.prototype = {
}
}
- // try to put the flag name and type part in a span which we will
+ // try to put the flag name and type part in a span
+ // which we will
// use in setupLinks to inject links into.
match = this._reLinkifyInterestingFlag.exec(previousText);
if (match) {
@@ -636,7 +639,8 @@ AttachmentFlagHandlerCtor.prototype = {
if (!(id in this._db)) {
this._db[id] = [];
}
- name = name.split('@')[0]; // convert the name to the fraction before the @
+ name = name.split('@')[0]; // convert the name to the fraction
+ // before the @
var added = this._parseData(name, trimContent(item[base + 2]));
for (var i = 0; i < added.length; ++i) {
var flag = added[i];