Skip to content

Commit

Permalink
Merge pull request ondras#83 from ondras/setstatus-fix
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
ondras authored Oct 31, 2018
2 parents 6e2f46c + 614808d commit 1c271f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion my-mind.js
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ MM.Action.SetSide.prototype.perform = function() {
this._item.setSide(this._side);
this._item.getMap().update();
}
MM.Action.SetStatus.prototype.undo = function() {
MM.Action.SetSide.prototype.undo = function() {
this._item.setSide(this._oldSide);
this._item.getMap().update();
}
Expand Down
2 changes: 1 addition & 1 deletion src/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ MM.Action.SetSide.prototype.perform = function() {
this._item.setSide(this._side);
this._item.getMap().update();
}
MM.Action.SetStatus.prototype.undo = function() {
MM.Action.SetSide.prototype.undo = function() {
this._item.setSide(this._oldSide);
this._item.getMap().update();
}

0 comments on commit 1c271f0

Please sign in to comment.