onload scripts

This commit is contained in:
Jacob Levine 2019-02-06 18:19:18 -06:00
parent ac158bf0a9
commit 39dc72add2
4 changed files with 14 additions and 4 deletions

View File

@ -12,4 +12,6 @@ function closeNav() {
document.body.style.backgroundColor = "white";
}
document.getElementById('sideload').style.display = 'block';
window.onload=function{
document.getElementById('sideload').style.display = 'block';
}

View File

@ -219,6 +219,8 @@ function closeNav() {
document.getElementById("main").style.marginLeft = "0";
document.body.style.backgroundColor = "white";
}
if(firebase.auth().currentUser!=null){
handleSignedInUser(firebase.auth().currentUser)
window.onload=function{
if(firebase.auth().currentUser!=null){
handleSignedInUser(firebase.auth().currentUser)
}
}

View File

@ -12,4 +12,6 @@ function closeNav() {
document.body.style.backgroundColor = "white";
}
document.getElementById('sideload').style.display = 'block';
window.onload=function{
document.getElementById('sideload').style.display = 'block';
}

View File

@ -11,3 +11,7 @@ function closeNav() {
document.getElementById("main").style.marginLeft = "0";
document.body.style.backgroundColor = "white";
}
window.onload=function{
document.getElementById('sideload').style.display = 'block';
}