1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 13:10:24 +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 63b039a800
commit 17c86b82bf

View File

@@ -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);
}
/**