diff --git a/browser/src/layer/tile/CommentSection.ts b/browser/src/layer/tile/CommentSection.ts index 563f9a7a0ce6..6246e98929ad 100644 --- a/browser/src/layer/tile/CommentSection.ts +++ b/browser/src/layer/tile/CommentSection.ts @@ -909,7 +909,7 @@ export class Comment extends CanvasSectionObject { } public isAnyEdit (): boolean { - var commentList = this.sectionProperties.commentList; + var commentList = app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).sectionProperties.commentList; for (var i in commentList) { var modifyNode = commentList[i].sectionProperties.nodeModify; var replyNode = commentList[i].sectionProperties.nodeReply;