1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +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

@@ -4,7 +4,7 @@
<header class="global-header" id="header">
<div id="back-button"></div>
<div class="container">
<h1 class="header-title"><a href="{{ $config['base_url'] }}" onclick="app.history.home()">{{ $config['forum_title'] }}</a></h1>
<h1 class="header-title"><a href="{{ $config['base_url'] }}" id="home-link">{{ $config['forum_title'] }}</a></h1>
<div id="header-primary" class="header-primary"></div>
<div id="header-secondary" class="header-secondary"></div>
</div>