Refactoring

This commit is contained in:
Julia Radzhabova 2021-08-10 01:47:43 +03:00
parent 0e250bda69
commit 1167367142
2 changed files with 1 additions and 4 deletions

View file

@ -992,8 +992,7 @@ define([
review: true, review: true,
viewport: true, viewport: true,
documentHolder: true, documentHolder: true,
toolbar: true, toolbar: true
transit:true
}, temp ? 'reconnect' : 'disconnect'); }, temp ? 'reconnect' : 'disconnect');
}, },

View file

@ -2460,8 +2460,6 @@ define([
}); });
if (btn.cmpEl.closest('#review-changes-panel').length>0) if (btn.cmpEl.closest('#review-changes-panel').length>0)
btn.setCaption(me.toolbar.capBtnAddComment); btn.setCaption(me.toolbar.capBtnAddComment);
if (btn.cmpEl.closest('#transitions-panel').length>0)
btn.setCaption(me.toolbar.capBtnAddComment);
}, this); }, this);
this.toolbar.lockToolbar(PE.enumLock.noSlides, this._state.no_slides, { array: this.btnsComment }); this.toolbar.lockToolbar(PE.enumLock.noSlides, this._state.no_slides, { array: this.btnsComment });