diff --git a/common/content/modes.js b/common/content/modes.js index 93324e89..b5876916 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -212,6 +212,8 @@ const Modes = Module("modes", { }, reset: function () { + if (this._modeStack.length == 1 && this.topOfStack.params.restore) + this.topOfStack.params.restore(this.topOfStack); while (this._modeStack.length > 1) this.pop(); },