Oprava po přejmenování tagů (#9)
Fix camel case Fix sample video and XML parser Remove extra chromosomes Reviewed-on: https://git.microlab.space/pixx/TVC/pulls/9 Co-Authored-By: Emil Miler <emil.miler@pedf.cuni.cz> Co-Committed-By: Emil Miler <emil.miler@pedf.cuni.cz>
This commit is contained in:
10
js/view.js
10
js/view.js
@@ -21,7 +21,7 @@ class View {
|
||||
); */
|
||||
}
|
||||
|
||||
drawCommentTittles(comments) {
|
||||
drawCommentTitles(comments) {
|
||||
let aside = document.getElementsByTagName("aside")[0];
|
||||
|
||||
for (let i = 0; i < comments.length; i++) {
|
||||
@@ -49,11 +49,11 @@ class View {
|
||||
|
||||
comment.appendChild(time);
|
||||
|
||||
let commentTittle = document.createElement("div");
|
||||
commentTittle.setAttribute("class", "commentText");
|
||||
commentTittle.innerHTML = comments[i].tittle;
|
||||
let commentTitle = document.createElement("div");
|
||||
commentTitle.setAttribute("class", "commentText");
|
||||
commentTitle.innerHTML = comments[i].title;
|
||||
|
||||
comment.appendChild(commentTittle);
|
||||
comment.appendChild(commentTitle);
|
||||
|
||||
aside.appendChild(comment);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user