[DE] wrong 'undo'/'redo' state for 'comparing' mode

This commit is contained in:
maxkadushkin 2020-06-09 23:18:44 +03:00 committed by GitHub
parent e1a707e49c
commit ba43c0d045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,6 +339,8 @@ define([
$('#id-save-style-plus, #id-save-style-link', toolbar.$el).on('click', this.onMenuSaveStyle.bind(this));
this.onSetupCopyStyleButton();
this.onBtnChangeState('undo:disabled', toolbar.btnUndo, toolbar.btnUndo.isDisabled());
this.onBtnChangeState('redo:disabled', toolbar.btnRedo, toolbar.btnRedo.isDisabled());
},
setApi: function(api) {