From 123ad973ae839ae4c21ceea689a84b1430de0f82 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 29 Apr 2011 13:42:01 +0200 Subject: There is no in 4.0 BZ and it is not necessary anyway. --- data/lib/bzpage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit