diff --git a/index.html b/index.html index a1a0c7e..ae0495f 100644 --- a/index.html +++ b/index.html @@ -327,7 +327,7 @@ - + diff --git a/js/lib/commands.js b/js/lib/commands.js index c805d38..6506cd9 100644 --- a/js/lib/commands.js +++ b/js/lib/commands.js @@ -48,7 +48,7 @@ const commands = makeReadOnly( for (var i = 0; i < n && this.current + 1 < this._history.length; i++) { try { await this._history[++this._current].redo(); - } catch { + } catch (e) { console.warn("[commands] Failed to redo command"); console.warn(e); this._current--;