forked from Adleraci/adlerka.top
Change to defer
This commit is contained in:
parent
8e44b5aaf0
commit
9841f68b5d
@ -52,16 +52,12 @@
|
||||
listActivationCodes();
|
||||
}
|
||||
|
||||
function admininit(){
|
||||
listActivationCodes();
|
||||
listUsers();
|
||||
userinit();
|
||||
}
|
||||
|
||||
window.onload = admininit;
|
||||
|
||||
</script>
|
||||
|
||||
<script defer>
|
||||
listActivationCodes();
|
||||
listUsers();
|
||||
</script>
|
||||
|
||||
<div class="form-container" id="addActivationCodesForm">
|
||||
<h1>Activation Codes</h1>
|
||||
|
@ -59,12 +59,10 @@
|
||||
populateUserInfoFields(result.UserInfo);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
function userinit() {
|
||||
<script defer>
|
||||
getUserInfo();
|
||||
}
|
||||
|
||||
window.onload = userinit;
|
||||
</script>
|
||||
|
||||
<!-- Centralized Status Message -->
|
||||
|
Loading…
Reference in New Issue
Block a user