Fixed hashlink error on move from channel to frontpage and closing modal

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-08 11:20:46 +01:00
parent 02ccc9ee4f
commit 11ac0d75b2
4 changed files with 5 additions and 5 deletions

View File

@@ -259,7 +259,7 @@ var Nochan = {
window.onpopstate = function(e){
var url_split = window.location.href.split("/");
if(url_split[3] != "" && (url_split[3].substring(0,1) != "#")){
if(url_split[3] != "" && url_split[3].substring(0,1) != "#"){
Nochan.to_channel(url_split[3], true);
}
}