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

@@ -397,7 +397,7 @@ function onepage_load(){
var url_split = window.location.href.split("/");
if(url_split[3] == "" || url_split[3].substring(0,1) == "#"){
if(url_split[3] == ""){
$("#channel-load").css("display", "block");
window.scrollTo(0, 0);