diff options
Diffstat (limited to 'browser/src/layer/tile/CommentListSection.ts')
-rw-r--r-- | browser/src/layer/tile/CommentListSection.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/browser/src/layer/tile/CommentListSection.ts b/browser/src/layer/tile/CommentListSection.ts index 609377fbb1..56ee4865f7 100644 --- a/browser/src/layer/tile/CommentListSection.ts +++ b/browser/src/layer/tile/CommentListSection.ts @@ -631,9 +631,8 @@ export class CommentSection extends CanvasSectionObject { } } else { - this.unselect(); annotation.reply(); - this.select(annotation); + this.select(annotation, true); annotation.focus(); } } @@ -649,11 +648,6 @@ export class CommentSection extends CanvasSectionObject { }.bind(this), /* isMod */ true); } else { - if (this.sectionProperties.docLayer._docType !== 'spreadsheet') { - this.unselect(); - this.select(annotation); - } - // Make sure that comment is not transitioning and comment menu is not open. var tempFunction = function() { setTimeout(function() { |