Skip to content

Commit

Permalink
[se] Fix bug 72905
Browse files Browse the repository at this point in the history
  • Loading branch information
GoshaZotov authored and K0R0L committed Jan 29, 2025
1 parent 31cea64 commit 5f41b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cell/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ var editor;
};

spreadsheet_api.prototype.asc_getCanUndo = function () {
let bCanUndo = History.Can_Undo();
let bCanUndo = AscCommon.History && AscCommon.History.Can_Undo();

if (true !== bCanUndo && this.collaborativeEditing && true === this.collaborativeEditing.Is_Fast() && true !== this.collaborativeEditing.Is_SingleUser()) {
bCanUndo = this.collaborativeEditing.CanUndo();
Expand Down

0 comments on commit 5f41b57

Please sign in to comment.