fix url ussage in firstPage

This commit is contained in:
2019-06-09 01:34:10 +02:00
parent 4b91379069
commit 5c93e05673

View File

@@ -49,10 +49,6 @@ function firstPage(){
var href = window.location.href
var parameterSeperator = "?"
/* clean URL from unessesary parameters */
url.searchParams.delete("goto")
url.searchParams.delete("start")
if(href.includes(parameterSeperator)){
window.location.href = href.split(parameterSeperator)[0]
}