mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
Scroll into view if user param (#1223)
This commit is contained in:
parent
62729d357d
commit
b80cb8a28d
1 changed files with 7 additions and 2 deletions
|
|
@ -48,6 +48,12 @@
|
|||
}
|
||||
})
|
||||
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
|
||||
if(urlParams.get("user")) {
|
||||
document.getElementById("shop").scrollIntoView()
|
||||
}
|
||||
|
||||
function characterImage(character) {
|
||||
return {
|
||||
"Dino": "https://cloud-h4wi9l5hg-hack-club-bot.vercel.app/2005.png",
|
||||
|
|
@ -98,8 +104,7 @@
|
|||
} else {
|
||||
document.querySelector('.shop-dialogue').innerHTML = '...'
|
||||
}
|
||||
console.log(inv)
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
|
||||
if(urlParams.get("user")) {
|
||||
|
||||
document.getElementById("order_wrapper").innerHTML = `
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue