1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

history back function fix

it shouldn't check for canGoBack again after the array pop()
This commit is contained in:
w-4
2019-11-23 13:01:23 +07:00
committed by David Sevilla Martín
parent a0ed6c5d69
commit 3acee604d4

View File

@@ -92,7 +92,7 @@ export default class History {
this.stack.pop(); this.stack.pop();
this.canGoBack() ? m.route(this.getCurrent().url) : this.home(); m.route(this.getCurrent().url);
} }
/** /**