From 11673671425646230e7e0dc7841fbb320c31db00 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 10 Aug 2021 01:47:43 +0300 Subject: [PATCH] Refactoring --- apps/presentationeditor/main/app/controller/Main.js | 3 +-- apps/presentationeditor/main/app/controller/Toolbar.js | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index cab2ea170..87ec4ba24 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -992,8 +992,7 @@ define([ review: true, viewport: true, documentHolder: true, - toolbar: true, - transit:true + toolbar: true }, temp ? 'reconnect' : 'disconnect'); }, diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index c748775de..330473e3c 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -2460,8 +2460,6 @@ define([ }); if (btn.cmpEl.closest('#review-changes-panel').length>0) btn.setCaption(me.toolbar.capBtnAddComment); - if (btn.cmpEl.closest('#transitions-panel').length>0) - btn.setCaption(me.toolbar.capBtnAddComment); }, this); this.toolbar.lockToolbar(PE.enumLock.noSlides, this._state.no_slides, { array: this.btnsComment });