From 164378dfaa3745c45110180c51459bb80e909935 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 13 Feb 2019 13:33:28 +0300 Subject: [PATCH] [Common] Hide comment popover when switch to preview comment mode --- apps/common/main/lib/controller/Comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/controller/Comments.js b/apps/common/main/lib/controller/Comments.js index ed64ddd28..a65c50073 100644 --- a/apps/common/main/lib/controller/Comments.js +++ b/apps/common/main/lib/controller/Comments.js @@ -1483,7 +1483,7 @@ define([ this.setMode(this.mode); this.updateComments(true); if (this.getPopover()) - this.getPopover().update(true); + mode ? this.getPopover().hide() : this.getPopover().update(true); }, clearCollections: function() {