Fix top element in hideci.js for new change screen

Top element is now one level above.

Change-Id: I50cac60922bc17c3de9eb5318e0a78e2cb46727e
This commit is contained in:
Mathieu Gagné 2015-12-16 20:41:53 -05:00
parent 08920f9eaa
commit c9cedeb00f

View File

@ -185,7 +185,8 @@ var ci_parse_comments = function() {
var name = top.attr("name");
if (!name) {
// new change screen
name = $(this).parent().parent().parent().children().children()[0].innerHTML
name = $(this).parent().parent().parent().children().children()[0].innerHTML;
top = $(this).parent().parent().parent().parent();
}
var comment = {};
comment.name = name;