Initial commit
This commit is contained in:
6
HTML/FiveM/assets/components/footer/script.ts
Normal file
6
HTML/FiveM/assets/components/footer/script.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
const footer_buttons = document.getElementsByClassName("footer_buttons")[0].children as HTMLCollectionOf<HTMLInputElement>;
|
||||
for (let button of footer_buttons) {
|
||||
button.onclick = () => {
|
||||
location.href = button.id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user