diff options
Diffstat (limited to 'data/lib/jumpNextBug.js')
-rw-r--r-- | data/lib/jumpNextBug.js | 8 |
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"; } |