diff -r 47f54d0c46dd -r 24b4923125c5 src/cm/media/js/site/c_text_view_comments_to_frame.js --- a/src/cm/media/js/site/c_text_view_comments_to_frame.js Mon Oct 01 10:14:08 2012 +0200 +++ b/src/cm/media/js/site/c_text_view_comments_to_frame.js Mon Oct 01 10:48:23 2012 +0200 @@ -49,7 +49,7 @@ //toc //For some reasons: gToc['overlay'].get('boundingBox').setStyle('width', iCommentWidth + 'px'); // does not work when the div.c-toc has a fixed position. - document.getElementsByClassName('c-toc')[0].style.width = iCommentWidth + 'px'; + document.getElementById('the-toc').style.width = iCommentWidth + 'px'; if (gNewReply) changeFormFieldsWidth(gNewReply['ids']['formId'], iCommentWidth) ;