From 614808dd1f5c9b0cf574e4e9155e816e8135d8b3 Mon Sep 17 00:00:00 2001 From: Ondrej Zara Date: Wed, 31 Oct 2018 09:48:14 +0100 Subject: [PATCH] fix --- my-mind.js | 2 +- src/action.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/my-mind.js b/my-mind.js index 9dac80c..aaa1d2f 100644 --- a/my-mind.js +++ b/my-mind.js @@ -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(); } diff --git a/src/action.js b/src/action.js index f3ec28b..7e69738 100644 --- a/src/action.js +++ b/src/action.js @@ -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(); }