aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib')
-rw-r--r--data/lib/bzpage.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index 9d83e15..1ab6585 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -390,10 +390,9 @@ function startup() {
}
// Prepare for adding external bugs
- var a0Elements = document.getElementsByName("a0");
- if (a0Elements.length > 0) {
- var extBugsHeadline = a0Elements[a0Elements.length - 1];
- extBugsHeadline.setAttribute("id", "external_bugs_headline");
+ var a0Elements = document.getElementById("et0");
+ if (a0Elements) {
+ a0Elements.setAttribute("id", "external_bugs_headline");
}
// So, now we know we are logged in, so we can get to