summaryrefslogtreecommitdiff
path: root/www/index.html
diff options
context:
space:
mode:
authorPeterTheOne <petertheone@gmail.com>2015-07-31 19:29:15 (GMT)
committerPeterTheOne <petertheone@gmail.com>2015-07-31 19:29:15 (GMT)
commit9bcb5485f8a47358463e2d3fc4bf45c567163d7a (patch)
treee37eafa44fe8172455ce3bb777424287511fb275 /www/index.html
parent2aedff65649b4601d5998696fac2ccf33ff1ba9b (diff)
use history.pushState to switch apps
Diffstat (limited to 'www/index.html')
-rw-r--r--www/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/index.html b/www/index.html
index 8544b28..e4a462d 100644
--- a/www/index.html
+++ b/www/index.html
@@ -70,9 +70,9 @@
<span class="brand">Radio Helsinki - Import</span>
<div class="nav-collapse">
<ul class="nav">
- <li id="nav-btn-shows"><a href="#" onclick="apps_select('shows')">Sendungen</a></li>
- <li id="nav-btn-jingles"><a href="#" onclick="apps_select('jingles')">Jingles</a></li>
- <li id="nav-btn-musicpools"><a href="#" onclick="apps_select('musicpools')">Musikpools</a></li>
+ <li id="nav-btn-shows"><a href="#shows/" onclick="event.preventDefault(); apps_select('shows')">Sendungen</a></li>
+ <li id="nav-btn-jingles"><a href="#jingles/" onclick="event.preventDefault(); apps_select('jingles')">Jingles</a></li>
+ <li id="nav-btn-musicpools"><a href="#musicpools/" onclick="event.preventDefault(); apps_select('musicpools')">Musikpools</a></li>
</ul>
<form id="logoutform" class="navbar-form pull-right">
<span class="navbar-text">angmeldet als <strong id="username-field">UNKNOWN</strong></span>&nbsp;&nbsp;