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:
committed by
David Sevilla Martín
parent
63b039a800
commit
17c86b82bf
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user