aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/jumpNextBug.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-23 20:18:23 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-23 20:18:23 +0100
commit2e5993bc9bd0d468f4e9d12dd39e0548ba9adda1 (patch)
treef31a0d612efbfa5beb78e4718768c55c650f14d8 /data/lib/jumpNextBug.js
parentc662ccddab2cbcc6d13f49a21c04a6aea808f457 (diff)
downloadbugzilla-triage-2e5993bc9bd0d468f4e9d12dd39e0548ba9adda1.tar.gz
Fix indentation and else for Mozilla coding guidelines.
Diffstat (limited to 'data/lib/jumpNextBug.js')
-rw-r--r--data/lib/jumpNextBug.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/lib/jumpNextBug.js b/data/lib/jumpNextBug.js
index f07bed0..af0ff39 100644
--- a/data/lib/jumpNextBug.js
+++ b/data/lib/jumpNextBug.js
@@ -6,10 +6,10 @@ var nextRE = new RegExp("Next");
var aNavigElements = document.querySelectorAll("#bugzilla-body .navigation a");
var filteredElements = Array.filter(aNavigElements, function(elem) {
- return nextRE.test(elem.textContent);
+ return nextRE.test(elem.textContent);
});
if (filteredElements.length > 0) {
- nextElement = filteredElements[0];
- nextElement.setAttribute("accesskey", "n");
- nextElement.innerHTML = "<u>N</u>ext";
+ nextElement = filteredElements[0];
+ nextElement.setAttribute("accesskey", "n");
+ nextElement.innerHTML = "<u>N</u>ext";
}