mirror of
https://github.com/voltbonn/diversity.volt.link.git
synced 2024-06-28 17:00:55 +00:00
run functions after load finished
This commit is contained in:
parent
7f7a78639a
commit
c3179e9108
|
@ -141,7 +141,6 @@ function initTeams() {
|
||||||
renderTeamSelected()
|
renderTeamSelected()
|
||||||
renderTeamSelectedAutomatically()
|
renderTeamSelectedAutomatically()
|
||||||
}
|
}
|
||||||
initTeams()
|
|
||||||
|
|
||||||
const CloudFunctionsPrefix = 'https://us-central1-volt-4eca0.cloudfunctions.net/save_formdata'
|
const CloudFunctionsPrefix = 'https://us-central1-volt-4eca0.cloudfunctions.net/save_formdata'
|
||||||
|
|
||||||
|
@ -774,4 +773,8 @@ function _DATA_GOT_LOADED() {
|
||||||
generateForm(_DATA_)
|
generateForm(_DATA_)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_DATA_GOT_LOADED()
|
|
||||||
|
window.addEventListener('load', () => {
|
||||||
|
_DATA_GOT_LOADED()
|
||||||
|
initTeams()
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue