Changed style of channelURL when toggled and not

This commit is contained in:
Kasper Rynning-Tønnesen
2015-02-09 20:23:51 +01:00
parent 31e76dc999
commit 18c118792e
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<div id="change" class="small"> <div id="change" class="small">
<div id="mobile-banner"></div> <div id="mobile-banner"></div>
<a id="toptitle" href="/">Zöff</a> <a id="toptitle" href="/">Zöff</a>
<div id="chan" class="chan" title="Show big URL" onclick="show()"><?php echo(ucfirst($list));?></div> <div id="chan" class="chan" title="Show big URL" onclick="show()"><?php echo(ucfirst(urldecode($list)));?></div>
<input id="search" name="v" title="Search for songs..." type="text" class="search_input innbox" spellcheck="false" placeholder="Search" onsubmit="null;" autocomplete="off"/> <input id="search" name="v" title="Search for songs..." type="text" class="search_input innbox" spellcheck="false" placeholder="Search" onsubmit="null;" autocomplete="off"/>
<div id="results"></div> <div id="results"></div>
<div class="main"> <div class="main">

View File

@@ -150,7 +150,7 @@ function show(){
showToggle=false; showToggle=false;
$("#toptitle").empty(); $("#toptitle").empty();
$("#chan").addClass("bigChan"); $("#chan").addClass("bigChan");
$("#chan").html("zoff.no/"+chan); $("#chan").html("zoff.no/"+encodeURI(chan));
}else{ }else{
showToggle=true; showToggle=true;
$("#toptitle").html("Zöff"); $("#toptitle").html("Zöff");