@ -21,7 +21,7 @@ class View {
) ; * /
) ; * /
}
}
drawCommentTit t les( comments ) {
drawCommentTit les( comments ) {
let aside = document . getElementsByTagName ( "aside" ) [ 0 ] ;
let aside = document . getElementsByTagName ( "aside" ) [ 0 ] ;
for ( let i = 0 ; i < comments . length ; i ++ ) {
for ( let i = 0 ; i < comments . length ; i ++ ) {
@ -49,11 +49,11 @@ class View {
comment . appendChild ( time ) ;
comment . appendChild ( time ) ;
let commentTit t le = document . createElement ( "div" ) ;
let commentTit le = document . createElement ( "div" ) ;
commentTit t le. setAttribute ( "class" , "commentText" ) ;
commentTit le. setAttribute ( "class" , "commentText" ) ;
commentTit t le. innerHTML = comments [ i ] . ti t tle;
commentTit le. innerHTML = comments [ i ] . ti tle;
comment . appendChild ( commentTit t le) ;
comment . appendChild ( commentTit le) ;
aside . appendChild ( comment ) ;
aside . appendChild ( comment ) ;