aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/lib/bzpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index 76dd1a7..ca3993a 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -415,7 +415,7 @@ function startup() {
// to be generally much more stable (even with other bugzillas, e.g.
// b.gnome.org)
// then some getElementById.
- var commentArea = document.getElementsByName("add_comment")[0].parentNode;
+ var commentArea = document.getElementsByClassName("bz_section_additional_comments")[0];
if (commentArea) {
var brElementPlacer = commentArea.getElementsByTagName("br");
brElementPlacer = brElementPlacer[0];