File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ export class CommentAccessibleViewContribution extends Disposable {
251
251
return false ;
252
252
}
253
253
254
- const commentNode = commentsView ? .focusedCommentNode ;
254
+ const commentNode = commentsView . focusedCommentNode ;
255
255
const content = commentsView . focusedCommentInfo ?. toString ( ) ;
256
256
if ( ! commentNode || ! content ) {
257
257
return false ;
Original file line number Diff line number Diff line change @@ -79,11 +79,10 @@ export class CommentsPanel extends FilterViewPane implements ICommentsView {
79
79
}
80
80
81
81
get focusedCommentInfo ( ) : string | undefined {
82
- const focused = this . focusedCommentNode ;
83
- if ( ! focused ) {
82
+ if ( ! this . focusedCommentNode ) {
84
83
return ;
85
84
}
86
- return this . getScreenReaderInfoForNode ( focused , 'accessibleViewContent' ) ;
85
+ return this . getScreenReaderInfoForNode ( this . focusedCommentNode , 'accessibleViewContent' ) ;
87
86
}
88
87
89
88
focusNextNode ( ) : void {
You can’t perform that action at this time.
0 commit comments