1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Make home button route correctly, not respond on middle click

Amends flarum/core#140, closes flarum/core#136
This commit is contained in:
Toby Zerner
2015-06-25 08:14:51 +09:30
parent df3e732d4b
commit f3b8c31e18
3 changed files with 8 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ export default class History {
home() {
this.stack.splice(1);
var top = this.top();
m.route(top.url);
m.route('/');
}
}