From a789c6b4e93efad26f5089c3b5e3e4319f423bce Mon Sep 17 00:00:00 2001 From: w-4 <36057469+w-4@users.noreply.github.com> Date: Sat, 23 Nov 2019 13:01:23 +0700 Subject: [PATCH] history back function fix it shouldn't check for canGoBack again after the array pop() --- js/src/forum/utils/History.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/utils/History.js b/js/src/forum/utils/History.js index d8b2a89e5..b71b84951 100644 --- a/js/src/forum/utils/History.js +++ b/js/src/forum/utils/History.js @@ -92,7 +92,7 @@ export default class History { this.stack.pop(); - this.canGoBack() ? m.route(this.getCurrent().url) : this.home(); + m.route(this.getCurrent().url); } /**