unknown gauntlet now redirects to search

This commit is contained in:
DerOwnerHD 2022-05-27 17:38:59 +02:00 committed by GitHub
parent 85f25876a7
commit 22fc097eb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,9 +107,9 @@
$(".dots").hide()
if (!gauntlets[gauntlet - 1]) {
window.location.href = "../gauntlets"
$('#loading').hide()
loading = false
window.location.href = `../search/*?gauntlet=${gauntlet}`
}
let container = $("#everything")[0]
@ -167,4 +167,4 @@ ${y == 4 ? '<img class="level-last" src="../assets/skull.png">' : ""}
}
})
</script>
</script>