diff --git a/js/src/forum/utils/History.js b/js/src/forum/utils/History.js index 0de757ccb..b71b84951 100644 --- a/js/src/forum/utils/History.js +++ b/js/src/forum/utils/History.js @@ -86,6 +86,10 @@ export default class History { * @public */ back() { + if (! this.canGoBack()) { + return this.home(); + } + this.stack.pop(); m.route(this.getCurrent().url);