diff --git a/loleaflet/src/layer/tile/CommentListSection.ts b/loleaflet/src/layer/tile/CommentListSection.ts index 4fdefc620..550eab7e6 100644 --- a/loleaflet/src/layer/tile/CommentListSection.ts +++ b/loleaflet/src/layer/tile/CommentListSection.ts @@ -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();