fixed url decode stupid thing

This commit is contained in:
Kasper Rynning-Tønnesen
2015-02-12 15:12:01 +01:00
parent bcd76901a3
commit 9fec8ce536
2 changed files with 3 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(urldecode($list)));?></div> <div id="chan" class="chan" title="Show big URL" onclick="show()"><?php echo(ucfirst($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,8 @@ function show(){
showToggle=false; showToggle=false;
$("#toptitle").empty(); $("#toptitle").empty();
$("#chan").addClass("bigChan"); $("#chan").addClass("bigChan");
$("#chan").html("zoff.no/"+encodeURI(chan)); //$("#chan").html("zoff.no/"+encodeURI(chan));
$("#chan").html("zoff.no/"+chan);
}else{ }else{
showToggle=true; showToggle=true;
$("#toptitle").html("Zöff"); $("#toptitle").html("Zöff");