aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/skip-bug.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-28 13:28:55 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:47:40 +0200
commit55d9a312fbba91f1bcf5e3f3291b7bece8abb178 (patch)
treebb9ef165b425273da47aa000268395f87f26678e /data/lib/skip-bug.js
parent34bbe8e7306a0d0ec014db7512788ed92c625d19 (diff)
downloadbugzilla-triage-55d9a312fbba91f1bcf5e3f3291b7bece8abb178.tar.gz
Reformatting to MoFo coding style
Diffstat (limited to 'data/lib/skip-bug.js')
-rw-r--r--data/lib/skip-bug.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/lib/skip-bug.js b/data/lib/skip-bug.js
index 3639448..c909a3e 100644
--- a/data/lib/skip-bug.js
+++ b/data/lib/skip-bug.js
@@ -6,12 +6,12 @@ function reloadPage() {
var stemURL = 'https://HOSTNAME/show_bug.cgi?id=';
var titleElems = document.getElementsByTagName('title');
if (titleElems) {
- var REArr = new RegExp('[bB]ug\\s+([0-9]+)').
- exec(titleElems[0].textContent);
+ var REArr = new RegExp('[bB]ug\\s+([0-9]+)')
+ .exec(titleElems[0].textContent);
var hostname = document.location.hostname;
if (REArr) {
- document.location = stemURL.
- replace('HOSTNAME',hostname) + REArr[1];
+ document.location = stemURL.replace('HOSTNAME', hostname)
+ + REArr[1];
}
}
}