Unselect comments when collapsing to bubbles
It prevents us from case when bubble is "higlighted" but we cannot open comment preview. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I9524946c82f534264a3f77963efb0a2692283324
This commit is contained in:
parent
a2543104ab
commit
def82002d8
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ class CommentSection {
|
|||
|
||||
this.isCollapsed = true;
|
||||
this.removeHighlighters();
|
||||
this.unselect();
|
||||
for (var i: number = 0; i < this.sectionProperties.commentList.length; i++) {
|
||||
if (this.sectionProperties.commentList[i].sectionProperties.data.id !== 'new')
|
||||
this.sectionProperties.commentList[i].setCollapsed();
|
||||
|
|
Loading…
Reference in a new issue