mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 07:01:36 +01:00
fix url ussage in firstPage
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user